Page 1 of 1

Prompt for input / variable when running a macro

Posted: Tue Apr 18, 2006 4:25 pm
by jofficer
This topic has been sorta discussed, although it seems that the topic had faded each time.

As an enhancement, I would like to see either of the following implemented:

1) Allow a macro to store a searched upon word for later reference. Like so:

; The following line will be used to find references within this file
;
; Enter Search word: user text to search for
;

In this example, the user would replace the 'user text to search for' with a valid string he wants to find, repeatedly through the remaining document.

-or-

2) Through scripting language, or through macro building itself, a useful feature would be to prompt the user for input, to define the value of a certain variable. So within code, you'd see something like this:

user.search = [Please enter the value for this variable]

And either through an interactive prompt, or through macro code you would define this variable.




I searched the forums, and could not find anything similar, that is currently implemented. If such a feature exists today, please advise as I have an immediate use for such.

BTW - Textpad rocks. And while there is always room for feature enhancments and improvements, I really appreciate the program thus far.

Joey