Copy link to clipboard
Copied
Hi There,
I know it's possible to use the .add() method on the RQItemCollection object to add a comp to the render queue within an opened project. My question is if it is possible to delete all the RenderQueueItems within the RQItemCollection via a script just so I can ensure that nothing is queued in there. Do I just set the RQItemCollection object to null or something like that?
Thanks for your time and help!
You need to use the RenderQueueItem remove() method. Page 158 of the CS3 scripting guide. For example:
var renderQueue = app.project.renderQueue;
while (renderQueue.numItems > 0) {
renderQueue.item(1).remove();
}
Copy link to clipboard
Copied
You need to use the RenderQueueItem remove() method. Page 158 of the CS3 scripting guide. For example:
var renderQueue = app.project.renderQueue;
while (renderQueue.numItems > 0) {
renderQueue.item(1).remove();
}
Copy link to clipboard
Copied
Thank you, Paul. That worked great!
Find more inspiration, events, and resources on the new Adobe Community
Explore Now