Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Scripting question: how do I ignore dialog boxes that show up so my script continues?

  • Scripting question: how do I ignore dialog boxes that show up so my script continues?

    Posted by Matthew Gadbois on October 5, 2013 at 1:00 am

    I made a handy script that will load a series of projects and render them in succession. However unfortunately it got stuck when one of the projects gave an error dialog warning me that the one of the footage items was missing. I’m aware of that and not worried by it, I want my script to just ignore that warning and continue rather than getting stuck there. Is there a way to do that? I’ve looked everywhere and found nothing that can help me 🙁

    I tried app.beginSuppressDialogs() and app.endSuppressDialogs() but they seem to cause my render to fail for some reason. Also in the documentation it makes it seem like that is to suppress scripting errors rather than dialogs that come from the app itself.

    Thanks in advance!
    ~Matt

    Alex Gerulaitis replied 12 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Alex Gerulaitis

    October 5, 2013 at 7:40 am

    A whole separate script might work: autoit, “ControlClick” function looks for a specific dialog box; there are other, less elegant options to ged rid of it.

    Alex Gerulaitis
    Systems Engineer
    DV411 – Los Angeles, CA

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