Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Detecting modal dialogue box

  • Detecting modal dialogue box

    Posted by Reuben Lara on November 23, 2019 at 2:20 pm

    How can i detect if a modal dialogue box is open? This error: “Cannot run a script while modal dialogue is waiting for a response” appears under the following condition:

    1. Open my ScriptUI panel
    2. Open a modal dialogue like “Import”
    3. While the dialogue box is open, hover over my ScriptUI panel if it’s showing in the background.
    4. The error triggers.

    My panel uses a mouseover event so it makes sense why the error is triggering. But how can I get my panel to ignore mouseover events when a dialogue is open?

    Thanks!

    James Smith replied 3 years, 4 months ago 3 Members · 3 Replies
  • 3 Replies

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