Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Doing stuff after rendering (scripting)

  • Doing stuff after rendering (scripting)

    Posted by Mirza Kadic on August 28, 2021 at 10:11 am

    Hi, I cannot seem to figure out how to do certain actions after rendering is done. For example, when I render a mov file, I want it to import it, and I have figured that one out (PostRenderAction.IMPORT), but I also want new comp to be created or anything other in after effects via scripting. I tried with RQItemStatus.DONE, but it seems that this action is done just before it’s actually DONE. For example if I write alert(“test”), it will show alert and then render end sound, and it should be other way around.

    Of course, this has to go in loop..

    { //loop start

    – Add to RQ

    – Render

    – Do stuff in project manager (scripting)

    } //loop end

    Any help would be greatly appreciated! 🙂

    Walter Soyka replied 4 years, 8 months ago 3 Members · 3 Replies
  • 3 Replies
  • Mirza Kadic

    August 29, 2021 at 5:26 pm

    Anyone?

  • Graham Quince

    August 30, 2021 at 11:59 am

    I’m not too familiar with scripts to be honest, but I do remember seeing this forum:

    https://aenhancers.com/

    Which shares all sorts of scripts for AE. Including some for post-render. It’s been ages since I’ve looked.

  • Walter Soyka

    August 31, 2021 at 12:37 am

    You should just be able to render in a loop — rendering blocks additional scripting tasks (other than through a status change or error callback) until the render is complete, then continues execution.

    Maybe instead of using a post-render action to import the file (I don’t think this returns the value anywhere), grab the file reference out of the render queue item after the render has finished and then import it yourself.

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