Page 1 of 1

Adding placeholders to render queue

Posted: March 16th, 2012, 5:29 pm
by ernpchan
When I do the below on a placeholder (import replace usage sequence) nothing happens. Is there something wrong with my code or do placeholders not register as addable items? If I add code to get and alert the name of the placeholder I get the name. The code works on actual footage or comp items.

Code: Select all

var selected = app.project.activeItem;
app.project.renderQueue.items.add(selected);

Re: Adding placeholders to render queue

Posted: March 20th, 2012, 8:36 pm
by ernpchan
Figured it out. You have to add the footage to a comp first and then add the comp to the queue.