Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9236589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:19:45+00:00 2026-06-18T07:19:45+00:00

I am new to After Effects scripting but have much experience with JavaScript in

  • 0

I am new to After Effects scripting but have much experience with JavaScript in the browser.

  1. How do I import .jsx files?
  2. Can I use js libraries such as underscore.js etc?
  3. What are some good resources for AE scripting? (Ideally infographics projects)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T07:19:46+00:00Added an answer on June 18, 2026 at 7:19 am
    1. To include a .jsx next to your script

    use:

    #include "includeme.jsx"
    

    EDIT 2:

    You can also include files using the following syntax:

    //@include "includeme.jsx"
    

    Which (IMHO) is the better way. It wont break a linter and is more javascript-ish.

    1. 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 error

    2. Best 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.

    var path = ((File($.fileName)).path); // this is the path of the script
    // now build a path to another js file
    // e.g. json lib https://github.com/douglascrockford/JSON-js
    var libfile = File(path +'/_libs/json2.js');
    if(libfile.exists){
      $.evalFile(libfile);
    }
    

    Edit 3: Old link to AE scripting docs was broken. Updated the link

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use MVC for a new project after having been around the
i have made a server using php. The server is getting new information after
After inserting new html to DOM,I need to add some listeners to it. But
How can I bind a new element create after the page has loaded? I
I'm having some issues understanding how to reference new browser windows after opening them.
I am implementing sound effects in HTML5 audio but after a while, it just
Im trying to test my successfully creates a new user after login (using authlogic).
so the problem is, that i want to insert a new row after another
I am extremely new to Direct2D after just looking at the MSDN start guide
I'm finding this kind of overriding after a new in java code very often

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.