Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Make a function to add in the render queue with own specifications.

  • Make a function to add in the render queue with own specifications.

    Posted by Adrián Wulfrath on April 6, 2016 at 3:37 pm

    Hi,
    im actually doing a button to make a function, to add a specific comp to the render queue, but with own specifications, something like AppleProRes codec, Unmatted, Alpha and with another button specify the output path.

    this is what i have actually:

    btn.onClick = function()
    {
    //here the code to add the specific comp to render queue with my configuration
    }

    Adrián Wulfrath replied 10 years, 1 month ago 1 Member · 1 Reply
  • 1 Reply
  • Adrián Wulfrath

    April 6, 2016 at 4:12 pm

    Now i got this:
    But how to specify the output and settings?

    {
    var QTtemplate = "Alpha Only";
    var activeItem = app.project.activeItem;
    var sel = app.project.item(1);

    if (sel != null && sel instanceof CompItem) {

    var theRender = app.project.renderQueue.items.add(sel);

    if (sel.height < 32) {
    theRender.outputModules[1].applyTemplate(QTtemplate);
    }

    } else {
    alert("Select the comp you want to render first");
    }
    }

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy