useful in its own right and in its application to ActiveX controls.
This is how to proceed:
file with the extension .js, e.g. "lib.js".
In this file
return "Hello World";
You enter the
name of the file in the GuiXT profile:
You can later specify several files here, separated by semicolons, in case a single file becomes too large. All files are loaded and can access common global variables.
In a GuiXT
"CallJS". You can output the value as a "message" for testing purposes:
CallJS msg = test
Message "S: &V[msg]" -statusline
GuiXT variable V[msg]. If you are not interested in the return value,
you can simply call a VBScript function with