Skip to main content
Participant
March 4, 2023
Question

can't run script twice

  • March 4, 2023
  • 1 reply
  • 339 views

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

This topic has been closed for replies.

1 reply

Mathias Moehl
Community Expert
Community Expert
March 6, 2023

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