Global Functions
function IncludeWizardScript(wizard_id)
Includes the script associated with the wizard ID into the current script context, this is similar to a #include directive.
function InvokeAction(action [,options])
Invoke an application action, given its action ID (see application command / menu reference). The options argument can specify ‘deferred’ / ’toggle’ boolean options.
function RunWizard(wizard_id)
Run a user-defined wizard, given its wizard ID (see application command / menu reference).
function print(message)
Prints a message to the log and pops up on screen.
function sleep(milliseconds)
Suspends execution of the script for the specified number of milliseconds.
This function is only defined for scripts that execute asynchronously (Button scripts and Sequencer scripts).
The actual timing resolution is fairly coarse; you can expect a sleep(1) to take significantly longer than 1 millisecond to resume due to a number of factors.
One of these is Windows itself which will give a sleep granularity approaching 10ms.
function trace(message [,show_panel])
Trace the message in the status panel. If the optional argument ‘show_panel’ is provided then the auto-popup behaviour of the status panel may be suppressed.
function traceDetail(message [,show_panel])
Trace a detail message in the status panel. If the optional argument ‘show_panel’ is provided then the auto-popup behaviour of the status panel may be suppressed.
function traceError(message [,show_panel])
Trace an error message in the status panel. If the optional argument ‘show_panel’ is provided then the auto-popup behaviour of the status panel may be suppressed.