JSX script UI popping up when i call my custom function thru extension after effects.
- September 17, 2021
- 1 reply
- 1726 views
I have my custom jsx script(myJSXScript_UI.jsx) with UI and custom functions written for after effects to run from File > Script >run script.
Now am trying out writing an extension for after effects where i can call some function from above jsx script directly using CSInterface.
So, i have added my jsx script path in manifest file and i have setup a button onClick() event in index.html and am calling my custom function using CSInterface. Please find the attachment for index.html and manifest file snapshots for your reference.
Now my problem is, when i click that button in extension, my functions are running fine and executed, but UI of the jsx script is opening as well. What is the reason?
Currently, i have removed panel.show() in jsx script to avoid UI, but that's not ideal solution.
If am calling some function() why entire script is opening with UI.
Whats wrong and whats the other way to do this?
Please help!
