Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Possible to delete all items in render queue to ensure it is clear?

Participant ,
Jul 21, 2011 Jul 21, 2011

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!

TOPICS
Scripting
4.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Enthusiast , Jul 21, 2011 Jul 21, 2011

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();

}

Translate
Enthusiast ,
Jul 21, 2011 Jul 21, 2011

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();

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 28, 2011 Jul 28, 2011
LATEST

Thank you, Paul.  That worked great!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines