Copy link to clipboard
Copied
Hi,
I am starting out with make a script for After Effects in Extend Script. I have attattched a screenshot of what I have coded so far, however when I run the script it does not appear in After Effects and gives no errors in Extendscript toolkit, does anyone know why.
To confirm I have liked the two programs together so it will run in After Effects, but it won't show,
Thanks in advance for anyone's help
Copy link to clipboard
Copied
I assume that's the full code? Typically you'd put all the code inside the multiEffects function, then have all the stuff related to building the UI inside the buildUI function.
Then outside the whole script function at the bottom, you'd have a line:
multiEffects(this);
And inside the main function but after the buildUI function you'd have something to call the build UI function like:
var multiEffectsPanel = multiEffects_buildUI(thisObj);
I guess you've copied the code form somewhere but not really understood what's going on. Essentially when a script panel script is launched, AE generates a script panel and feeds it to the script being launched, which you then have to pass through the code (this / thisObj) and build into.
As you've not pasted the code I haven't been able to check this is all that's needed.