How to update text in a file from a program (Tool)
Posted: Wed Jan 28, 2004 7:48 pm
I have a VB program that I call from TextPad using Tools (Ctrl+1).
I pass a parameter of '$Sel' which sends the selected text to
my program.
From the open text file I select text and then call the tool.
My VB program takes an action based on the selected text that was passed.
My question is:
From my program can I do anything to modify the text in the TextPad file ?
I would like to update the original text file based on logic in my program.
The only thing that I know of to update the text would be a macro but
I need to be able to modify the macro from time to time without having to
re-record the macro.
Thanks,
Sam
I pass a parameter of '$Sel' which sends the selected text to
my program.
From the open text file I select text and then call the tool.
My VB program takes an action based on the selected text that was passed.
My question is:
From my program can I do anything to modify the text in the TextPad file ?
I would like to update the original text file based on logic in my program.
The only thing that I know of to update the text would be a macro but
I need to be able to modify the macro from time to time without having to
re-record the macro.
Thanks,
Sam