Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Issue with prompt() in script

  • Issue with prompt() in script

    Posted by Joel Daniels on July 14, 2016 at 3:27 pm

    Hi all, I’m having an issue with prompt() in a script. The script is saved in the ScriptUI Panels folder, and run via the “Window” dropdown in After Effects, so it’s a dockable window.

    I have a function that includes a prompt(), but when I click the button in the dockable window, it never prompts me. Now, if I load the script from File > Scripts > Run Script File…, and click the same button, the prompt() function works as expected. Of course, it’s not a dockable window when I run the script this way.

    What might be the difference? Is there something about running the script as a dockable UI that disables the Javascript prompt() function?

    Joel Daniels replied 9 years, 10 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 14, 2016 at 6:38 pm

    I just tried it, and it works for me. Maybe there’s something else going on.

    Dan

  • Joel Daniels

    July 14, 2016 at 8:25 pm

    Ugh, yeah, there sure was. I’m such a dummy. I’m running AE CC 2015.3, and I was accidentally saving and loading the script in the residual After Effects 2015 folder instead of the new 2015.3 folder. Jeez. Gotta reduce some clutter here.

    Please disregard.

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