With the recent deprecation of VBScript in IE11, I need to convert all my code that I have as an external script in Macro Express Pro. I've tried using JScript, but the macro runs for about a second and does nothing. I decided to switch to HTA/HTML and have the code print within a window. I've converted all the VBScript to the JavaScript equivalents, but I'm stuck with WScript.Echo. Is there a JavaScript equivalent for this?
I have a variable named %Variables% in the "Save console output to:" box. With WScript.Echo, if I need to exit out of the script and go back to VBScript, I can use the code below:
If Opt = "" Then
Wscript.Echo "EXIT"
Wscript.Quit
End If
This will send "EXIT" to %Variables% so that it can be used by Macro Express Pro to terminate the macro completely.
Is there a JavaScript way of doing the exact same thing?