Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions In extendscript,is the RenderQueueItem logType attribute still supposed to work?

  • In extendscript,is the RenderQueueItem logType attribute still supposed to work?

    Posted by Sébastien Lavoie on January 11, 2016 at 2:11 pm

    According to the After Effects CS6 scripting guide, you can change a render queue item log type by using the logType attribute.

    A LogType enumerated value; (read/write). One of:

    LogType.ERRORS_ONLY
    LogType.ERRORS_AND_SETTINGS
    LogType.ERRORS_AND_PER_FRAME_INFO

    So, by using such code:

    app.project.renderQueue.items.add(compositionToRender).logType = LogType.ERRORS_AND_PER_FRAME_INFO

    The log type should be changed. But when I am trying in both CC 2014 and CC 2015 it doesn’t work. I am able to log LogType.ERRORS_AND_PER_FRAME_INFO which exists, but it seems like it cannot be affected to the logType property. Am I doing this wrong?

    app.project.renderQueue.items.add(compositionToRender).logType = LogType.ERRORS_AND_PER_FRAME_INFO

    Sébastien Lavoie replied 10 years, 6 months ago 2 Members · 4 Replies
  • 4 Replies
  • Xavier Gomez

    January 11, 2016 at 3:52 pm

    For me it works (CC2014), but the UI is not updated instantly.

    If the logType is initially ERRORS_ONLY, say, then doing the following returns the result: true, and the UI is updated only when hovering the mouse over the Log dropdownlist.

    app.project.renderQueue.item(1).logType = LogType.ERRORS_AND_PER_FRAME_INFO;
    app.project.renderQueue.item(1).logType === LogType.ERRORS_AND_PER_FRAME_INFO;

    What behaviour are you observing to say that it doesnt work ?

    Xavier.

  • Sébastien Lavoie

    January 11, 2016 at 3:59 pm

    When logging app.project.renderQueue.item(1).logType === LogType.ERRORS_AND_PER_FRAME_INFO; I do get true and would get false prior to affecting the value to the property, but the ui does not change. I have tried hovering over the dropdown but it does not get updated. I suppose this is a bug?

  • Xavier Gomez

    January 11, 2016 at 4:13 pm

    Well yes, if the UI never updates whatever you do, i suppose it is a bug. And when you actually render the comp, do you get the logType you asked for?

  • Sébastien Lavoie

    January 11, 2016 at 4:17 pm

    No, unfortunately it doesn’t.

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