-
Referencing function in an external file
I’m a new user of After Effects. I created an expression calling a function in its own file so I could easily reuse it. I want to store the script relative to the project. I used the following expression to call the function.
This approach generally works, but the directory seems to be referenced from wherever AE is invoked.
Is there a more conventional way to perform this?
If this is the right approach, is there a way to set a path reference relative to the project directory?$.evalFile("./scripts/overshoot.jsx");
thisProperty.value = overshoot(thisProperty, 5, 12);