Skip to main content
Inspiring
April 18, 2011
Pregunta

Running an AI script from ExtendScript Toolkit rather than AI

  • April 18, 2011
  • 1 respuesta
  • 709 visualizaciones

Is there a JS statement I can use (equivalent to the AS tell application "Adobe Illustrator") to direct my .jsx file to run in AI?

That way I can just press the play button rather than having to save the script in my Illustrator> Presets> Scripts Folder then opening it with the File Menu> Scripts…> Command.

Thanks in advance

Este tema ha sido cerrado para respuestas.

1 respuesta

Muppet_Mark-QAl63s
Inspiring
April 18, 2011

Use… At the head of your script… This will auto select the target app when run against the ESTK

#target illustrator

You could also include…

#targetengine main

I don't think its longer possible to run from outside the app without that dammed dialog now…