0 Replies Latest reply on Feb 8, 2017 9:19 AM by gregoryr14856817

    onStatusChanged not being called when rendering with AME

    gregoryr14856817

      I'm trying to run code after rendering is complete, but I'm not receiving statusChanged events.  Example code below:

       

      --------

       

      var renderQueue = app.project.renderQueue;

      var masterComp = app.project.item(1);

       

      // Add master comp to render queue

      var renderQueueItem = renderQueue.items.add(masterComp);

       

      // Listen to render queue events

      renderQueueItem.onStatusChanged = function () {  // This callback never executes

          $.writeln(renderQueueItem.status); 

      };

       

      // Immediately render comp using Adobe Media Encoder (required for mp4 exports)

      renderQueue.queueInAME(true);

       

      --------

       

      Any ideas why I'm not getting status changed events?

       

      - Greg