Command: ole.Load(script);
Syntax: ole.Load(string script);
Return: nothing

Load a script file. If the file is located into the Scripts folder you need to specify only the script file name, otherwise you will need to specify the full path to the file.

Example:
ole.Load("myscript.js");
ole.Load("C:/Some/Folder/myscript.js");

See also: Unload, Pause, Start, Reload, IsLoaded, IsRunning


Home|Scripting