Script runner for Adobe applications right from Sublime Text. Extension also available for VSCode and Atom.io.
- Adobe After Effects
- Adobe ExtendScript Toolkit
- Adobe Illustrator
- Adobe InCopy
- Adobe InDesign
- Adobe Photoshop
- Download repository and unzip the package,
- Copy "Adobe Script Runner" folder into Sublime Text’s "Packages" folder:
- MAC:
~/Users/USERNAME/Library/Application Support/Sublime Text 3/Packages/Adobe Script Runner
- WIN:
C:\Users\USERNAME\AppData\Roaming\Sublime Text 3\Packages\Adobe Script Runner
- MAC:
- Launch Sublime Text and open any ExtendScript JSX file you want to run in Adobe application,
- In Sublime Text navigate to
Tools -> Build System
and pick an application you want to execute your file in, - Click
CMD+B
on Mac orCTRL+B
on Windows and watch the magic.
If you have Adobe applications installed in a custom location, you will need to modify paths to executables in hostApp.sublime-build files:
// Adobe After Effects.sublime-build
{
"windows": {
"cmd": "\"Path-To-AfterFX.exe\" -r $file"
}
}
Executable paths for InCopy and InDesign for Windows are not exposed because they are handled differently than the rest of the apps. Go figure Adobe ¯\(ツ)/¯
Package is highly inspired by Sébastien Lavoie's After Effects Scripting Sublime Text Package, however, it works slightly different and also adds support for more Adobe applications.