I am new to After Effects scripting but have much experience with JavaScript in the browser.
- How do I import .jsx files?
- Can I use js libraries such as underscore.js etc?
- What are some good resources for AE scripting? (Ideally infographics projects)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
use:
EDIT 2:
You can also include files using the following syntax:
Which (IMHO) is the better way. It wont break a linter and is more javascript-ish.
You can use plain old javascript (ES3 Syntax). If the libraries you include use some browser specific js (like
console.log()) you will get an errorBest resource is the After Effects scripting guide. There are also lots of open source scripts on http://aescripts.com that you can examine
EDIT 1: You can also include a file like this.
Edit 3: Old link to AE scripting docs was broken. Updated the link