2 Minute Tut: Creating Scripts to Run in Any Context

Have you ever been developing a script for After Effects and you installed it in the Scripts directory and it didn’t work…but it did when you installed it in the ScriptUI Panels directory?  Or have you tried to run a script you know to work directly through ExtendScript Toolkit and have it fail? Many times, the reason for this is that you’ve developed your script to run in only one context.  Check out the tutorial above for more on that how you can program around that!

When you’re done with the tutorial, download the functionality covered for free and incorporate it into your scripts!

 

Bonus: Create a library of functions like this that you reuse and add it to the top of all your scripts with //@include “script_name.jsx” or #include “script_name.jsx”