Skip to content

ExtendScript Toolkit

fabiantheblind edited this page May 19, 2016 · 1 revision

From the Command Line

You can run the ESTK on OSX from the command like this:

/Applications/Adobe\ ExtendScript\ Toolkit\ CC/ExtendScript\ Toolkit.app/Contents/MacOS/ExtendScript\ Toolkit -run test.jsx

On Windows it should be:

"\path\to\ExtendScript Toolkit.exe" -run test.jsx

content of test.jsx:

//@target indesign
alert(app.name);

It needs the -run flag. When using -cmd it still executes the script but from ESTK. The //@target indesign gets ignored. With the -run the script gets passed to InDesign. Unfortunately the ESTK brings up a dialogue that warns to execute scripts from untrusted sources.

Clone this wiki locally