Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

can't run script twice

Community Beginner ,
Mar 04, 2023 Mar 04, 2023

hello guys, so i have been trying to create my first extension and i came long way but now i am stuck; the extension has a button that when clicked it runs after effect jsx using csInterface,

the problem is that it only run once and when i click again it doesnt load the script agan

,,thank you

TOPICS
Scripting
292
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 06, 2023 Mar 06, 2023
LATEST

Hard to help without knowing more details.

Do you see any error messages in the debugger?

Can you verify with the debugger if the callback code of your button is executed when you cick it the second time?

Does it work, if you replace the jsx code by a simple alert message? (Then you know that the jsx code and not the js code is the issue).

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines