Util.RunScript() Method

Calsl the main() function in the currently loaded script. Mainly useful to an external automation controller which is running a script remotely.

Syntax

Util.RunScript()

The method syntax has these parts:

Part Description
Return (Nothing) Does not return a value.

Remarks

See LoadScript() method and the ScriptLanguage property. If an error occurs, a trappable error is generated, and the Err.Description will contain a detailed description of the error including the line and column number in the script at which it occurred.