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

Set a script state as being Paused. When a script is paused it remain loaded in memory, but the events are not triggered. If the script 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 script file.

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

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


Home|Scripting