Application Object¶
The Application Object is the master object for controlling the application.
app
Attributes¶
Methods¶
app.getEncoderHost()¶
More on the Encoder Host Object
app.getEncoderHost()
Parameters
None.
Returns
Encoder Host Object.
app.getBuildNumber()¶
Gets the application build number.
app.getBuildNumber()
Parameters
None.
Returns
String. Build number.
app.scheduleTask()¶
Schedule a task for a later time. (similar to setTimeout()
in modern JS)
app.scheduleTask()
Parameters
stringToExecute |
A string containing JavaScript to be executed. |
delay |
A number of milliseconds to wait before executing the JavaScript. A floating-point value. |
repeat |
When true, execute the script repeatedly, with the specified delay between each execution. When false the script is executed only once. |
Returns
Integer, a unique identifier for this task, which can be used to cancel it with app.cancelTask().
app.cancelTask()¶
Removes the specified task from the queue of tasks scheduled for delayed execution.
app.cancelTask(taskID)
Parameters
taskID |
An integer that identifies the task, as returned by app.scheduleTask(). |
Returns
Nothing.