2

The usual way of targeting applications is no longer functional for me, which is a known bug of the program:

As stated in the readme file.

One solution that has worked for others is to include a #target directive in the code, as shown here.

However, when I try the same, I get an error message stating that the target application - in this case, "illustrator" - is

undefined.

Without being able to properly target my application, the only way to develop and test my scripts is to manually navigate to them from within the application itself, rather running them from within the ExtendScript Toolkit, which is quite a nuisance.

Any help would be greatly appreciated. Thanks.

Community
  • 1
  • 1
PCBlue22
  • 21
  • 1
  • 2
  • Pending an ExendScript Toolkit solution: if you place your script into Illustrator's own `Scripts` folder (for me it's in "Presets\en_GB\Scripts"), you can call it up from the File > Scripts menu. And you have to restart Illy once for it to appear. (Also, pending Adobe *finally* adding a Scripts Panel, which InDesign has had from its very first version!) – Jongware Oct 22 '15 at 15:40
  • There is a newer version of extend script out. I am running 4.5.5 have you tried the new version? – TinMonkey Oct 22 '15 at 20:04
  • I'm using the latest version of all software. – PCBlue22 Oct 22 '15 at 22:42
  • What is the illustrator installation folder? Can you open Illustrator app without extendscript? Have you install it using the creative-cloud desktop app? Do you have license or it's cracked? What is the exact version of estk and illustrator? – Ziki Oct 23 '15 at 06:26
  • Installation folder is default. Yes I can open illustrator without extendscript. Yes, all programs were installed with the desktop app. Yes, all software is licensed. Version of ESTK is 3.5 I believe. Version of Illustrator is 19.0.0.0 I think (I'm not on that particular computer at the moment). – PCBlue22 Oct 23 '15 at 12:57

1 Answers1

3

I just did some testing. This works on the latest Illustrator CC 2015.1

#target illustrator-19

When I did:

#target illustrator

It was trying to launch illustrator CS4 which was the last CS version i had before switching to CC. Looks like they changed that up a bit.

TinMonkey
  • 1,832
  • 1
  • 10
  • 7