|
|
| Purpose: | Run a script using an Active Scripting engine. |
| Format: | SCRIPT [/E engine] [filename ...] |
| engine | The name of the scripting engine |
Usage:
If you don't specify any arguments, SCRIPT will display the installed engines.
See also the @SCRIPT variable function.
TCC has a COM interface to allow the script to call back into TCC. The methods are:
shell.exec("command") - execute the specified command (internal or external)
shell.write("string") - write the string to stdout
shell.writeLn("string") - write the string to stdout with a CR/LF
shell.alert("text") - pop up a message box
Options:
| /E | If the script doesn't have a recognized extension (i.e., .vbs, .pls, etc.) you will need to specify the engine SCRIPT should use to execute the script. |