-
How do I use scripting to select a ‘Render Settings’ template?
I’m trying to write a script that will add the selected comp to the Render Queue, then select a custom ‘Output Module’ (Multi-Machine Sequence TIFF RGB) and one of the built-in Render Settings templates (Multi-Machine Sequence).
So far though, I’ve only been able to select the Output Module. I’m using the following…
var comp = app.project.activeItem;
var item = app.project.renderQueue.items.add(comp);
var outputModule = item.outputModule(1);
outputModule.applyTemplate("Multi-Machine Sequence TIFF RGB");
app.project.renderQueue.render();My problem is, I don’t know how to select the built-in ‘Render Settings’ template “Multi-Machine Sequence”. The closest I got was defining a few of the parameters using this snippet from Adobe…
var my_renderSettings = {
"Color Depth":"32 bits per channel",
"Quality":"Best",
"Effects":"All On",
"Time Span Duration":"1.0",
"Time Span Start":"2.0"
};
app.project.renderQueue.item(2).setSettings( my_renderSettings );…but I don’t know how to add ‘skip existing frames’, and even so, it creates a ‘custom’ version of the default ‘Best Settings’, which I don’t want.
Surely there’s a way to simply pick one of the ‘Render Settings’ templates with a script?