May 13, 2009 at 1:44 am #7288
Yutaka Emura
Keymaster
kenny wrote:
For this purpose, you will need to write a macro. External Tools currently cannot include a user interface to input parameters.
Thanks for the reply, but what I’m asking is how to write this macro. I can see hpow to execute an external tool from a macro, but I can’t see how to pass parameters to it in a macro.
You would write something like this:
WshShell = new ActiveXObject( "WScript.Shell" );
sCmdline = prompt( "Command line: ", "" )
WshShell.Run( "app.exe", sCmdline );