write a script to run another script
Looking forward to ideas...
I'm trying to build a UI Script Panel I can send to our third party designers so they can quickly convert and animate some files for us. I have the panel built, but the tools we use internally are mostly presets and a few scripts.
I figured out how to apply a preset to the selected layer from the preset .ffx file (panel 3/button 1 for Fly In/Out), but I'm not sure how to make the buttons run a script in the same way (by referencing a specific .jsx file). So currently, panel 1/button1 for Fade In works, but I'd like it to use the script file instead so if I need to make changes internally, I don't have to also edit the panel for our external designers - just send everyone the same updated fadeIn.jsx to replace.
Two methods I can think of right away.
1) If the script is installed in one of Ae's default application or user script folders, it will appear as a menu item. That means you can call it as such:
2) If you know where the file sits on disk, you can call tell Ae's scripting engine to evaluate it:
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive [twitter] | RenderBreak [blog] | Profile [LinkedIn]
Thank you! I have some customer work to get through, but I'm excited to try this out!