How to target a specific version of Photoshop in ExtendScript?

  • 2
  • Question
  • Updated 3 years ago
I have Photoshop CS6, CC, and CC 2014 installed (for testing). I have added "#target Photoshop" to the beginning of my script. I'm trying to get various versions of Photoshop to run to test my script, but I seem to have no control. If I use the drop down option at the top of my script in ExtendScript and choose Photoshop CC, I frequently get the following error message (even though CC is running and the link shows green):

Target Adobe Photoshop CC 2014 (80.032) is not running. Do you want to launch Adobe Photoshop (80.032)?

Any suggestions on how I can get my script to run in the desired version of Photoshop?

Thanks!
Photo of Greg Benz

Greg Benz

  • 48 Posts
  • 10 Reply Likes

Posted 4 years ago

  • 2
Photo of Matthew O Brien

Matthew O Brien

  • 86 Posts
  • 68 Reply Likes
I have the same question.

If I use #target photoshop ..... it opens Photoshop CS6. I want it to open Photoshop CC (2014).

I have searched the Adobe Extendscript Reference manual and cannot find any reference to #target or a valid set of target applications.
Photo of Greg Benz

Greg Benz

  • 48 Posts
  • 10 Reply Likes
Remove the #target photoshop command, and then you should be able to freely choose the version you want in ExtendScript.
Photo of Matthew O Brien

Matthew O Brien

  • 86 Posts
  • 68 Reply Likes
delighted and thanks for the response. Will try it out.