Script runner for Adobe applications right from Atom. Extension also available for VSCode.
- Adobe After Effects
- Adobe ExtendScript Toolkit
- Adobe Illustrator
- Adobe InCopy
- Adobe InDesign
- Adobe Photoshop
Run commands are accessible via Command Palette
. Simply click Cmd+Shift+P
and start typing the name of supported applications
. Click enter to run script inside the selected application.
Extension will open host application first if it's not running, and then execute the script.
Tip: You don't need to have file saved inside Atom. Extension will be able to run code from unsaved documents. Kaboom!
Map keyboard shortcuts to execute script even faster - Cmd+Alt+R
is bind to run script inside After Effects by default. Read how to customise keybindings here.
Note: Contribution to support other Adobe applications is highly encouraged.
-
- Open up the
Settings View
usingCmd+,
on Mac orCtrl+,
on Windows, - Click on the
Install
tab and typeAdobe Script Runner
.
- Open up the
-
- Download repository and unzip the package,
- Rename folder to
adobe-script-runner
, - Copy
adobe-script-runner
folder to/Users/YOURUSER/.atom/packages
folder.
- Launch Atom and open your own jsx file, or for testing just type
alert("Hello World")
. - Click
Cmd+Alt+R
on Mac orCtrl+Alt+R
on Windows or launchCommand Palette
with keyboard shortcutCmd+Shift+P
and typeAdobe After Effects
and click enter. - Hopefully After Effects will fire up and run your script 🙏
Click Cmd+,
on Mac or Ctrl+,
on Windows and navigate to Packages > Adobe Script Runner
to modify settings. Extension exposes the following settings:
Save Dirty Document
: toggle to automatically save dirty document before evaluating.Run Untitled Document
: toggle to evaluate untitled document. Note: document has to be saved prior to evaluating, therefore checkPath to Temp File
option to set temporary file path.Path to Temp File
: path to a temporary file where untitled documents are being saved prior to evaluating. Used only whenRun Untitled Document
is set totrue
.
For Windows users only:
Path to ExtendScript Toolkit executable
: path to Adobe ExtendScript Toolkit executable (ExtendScript Toolkit.exe).Path to After Effects executable
: path to Adobe After Effects executable (AfterFX.exe).Path to Illustrator executable
: path to Adobe Illustrator executable (Illustrator.exe).Path to Photoshop executable
: path to Adobe Photoshop executable (Photoshop.exe).
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 ¯\_(ツ)_/¯
- Host application does not get focus on script run.