Moderator: Paul Tuersley

Andrei Popa
Topic Author
Posts: 1
Joined: Tue Oct 03, 2017 5:02 am

Atom text editor for after effects scripting

Tue Dec 05, 2017 10:47 am

Hey everyone. I am hitting my head against a wall here for quite some time. I tried to use atom for editing my scripts but it is very hard to constantly copy and paste my code into extendscript to run it. Does anyone know what settings must be done to atom to make it run Affter Effects scripts? I know it is possible because i heared Zack telling this in his interview for School of Motion.
User avatar
Posts: 16
Joined: Mon Oct 31, 2016 5:00 pm
Location: Los Angeles

Re: Atom text editor for after effects scripting

Wed Dec 06, 2017 7:57 pm

This Zack doesn't use Atom, and never has.

I used to use Sublime Text 3 with a heavily modified version of Sebastian Lavoie's "Extendscript" package to easily execute scripts directly in AE. His version would copy scripts to specific folders and I found this unnecessary, so modified it to be more modular and execute scripts directly. You can find this here: -- but I don't recommend this method anymore.

For general reference, "Extendscript" is the name of the programming language; "Extendscript Toolkit" is the IDE that Adobe supplies, but you really don't need to put any code in there in order to run it!

Better options:
- Write your code anywhere you want, then in AE run the script directly via `File > Scripts > Run Script File...` and choose your script. Simple and easy. In recent versions of AE, there is a shortcut to run the last-executed script, so once you manually specify it once you can just hit the shortcut to re-run the new version.
- Use a script launcher like with a button linked to the latest script file, so you can quickly just press the button to run the latest version of your script
- If you really want to use Extendscript Toolkit for some reason, just open the exact same script file in Extendscript Toolkit, and then every time you finish writing your code in Atom, and enable the ESTK preference to auto-reload the saved file. Then, every time you switch back to ESTK, it'll show the latest state of your script file. Then you can press 'run' in ESTK, and it'll be up-to-date with what you wrote in Atom.
Posts: 11
Joined: Tue Feb 28, 2017 4:02 pm
Location: Atlanta, GA

Re: Atom text editor for after effects scripting

Tue Jan 30, 2018 9:57 am

install "Process-Palette" package in Atom then add a global configuration by "Do it". in shell Command use one of the following commands:

"C:\Program Files\Adobe Adobe After Effects version\Support Files\afterfx.exe" -r {fileAbsPath}

osascript -e 'tell application "Adobe After Effects version" to activate' -e 'tell application "Adobe After Effects version" to DoScriptFile "{fileAbsPath}"'

ex: version = CC 2015 
Haider Najeeb
Art Director and Motion Designer

Who is online

Users browsing this forum: No registered users and 1 guest