OK, I can see how I could get this working, but it’s not calling one of the configured external tools [i.e. tools menu -> external tools].
This is still OK, but can I capture the output of WshShell.Run( “app.exe”, sCmdline ); ?
How about this?
sCmdline = prompt( "Command line: ", "" )
var wsh = new ActiveXObject("WScript.Shell");
wExec = wsh.Exec("app.exe " + sCmdline);
OutputBar.Visible = true;