FORUMS: list search recent posts

Issue with prompt() in script

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Joel Daniels
Issue with prompt() in script
on Jul 14, 2016 at 3:27:12 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?


Return to posts index

Dan Ebberts
Re: Issue with prompt() in script
on Jul 14, 2016 at 6:38:18 pm

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

Dan



Return to posts index

Joel Daniels
Re: Issue with prompt() in script
on Jul 14, 2016 at 8:25:14 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.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]