-
Issue with prompt() in script
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?