onStatusChanged

app.project.renderQueue.item(index).onStatusChanged

Description

The name of a callback function that is calledwhenever the value of the RenderQueueItem.status attribute changes.

You cannot make changes to render queue items or to the application while rendering is in progress or paused;
you can, however, use this callback to pause or stop the rendering process. See RenderQueue pauseRendering() method” and “RenderQueue stopRendering() method”.

Type

A function name string, or null if no function is assigned.

Example

function myStatusChanged() {
alert(app.project.renderQueue.item(1).status)
} app.project.renderQueue.item(1).onStatusChanged = myStatusChanged();
app.project.renderQueue.item(1).render = false; //changes status and shows dialog "

Other Tags

Posted in RenderQueueItem object and tagged , , , , , , , , , , , , .