• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Photoshop CS2 and GUI Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Photoshop CS2 and GUI Scripting


  • Subject: Photoshop CS2 and GUI Scripting
  • From: Irwin Poche <email@hidden>
  • Date: Sun, 21 May 2006 19:54:36 -0500


I was hoping to use GUI scripting to read the value of various settings in Photoshop but have come to the frustrating conclusion that it's impossible.

Everything returns "System Events got an error: NSReceiverEvaluationScriptError: 4" errors.

Someone, please, tell me I wrong?


tell application "System Events"


tell application process "Finder" to set y to name of menu item 7 of menu 1 of menu bar item "View" of menu bar 1
display dialog y -- "Arrange By"


tell application process "Photoshop" to set y to name of menu item 7 of menu 1 of menu bar item "View" of menu bar 1
--should be "Zoom In"
--System Events got an error: NSReceiverEvaluationScriptError: 4


end tell
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Photoshop CS2 and GUI Scripting
      • From: Bill Cheeseman <email@hidden>
    • Re: Photoshop CS2 and GUI Scripting
      • From: kai <email@hidden>
  • Prev by Date: Re: creating image from itunes artwork
  • Next by Date: Re: Photoshop CS2 and GUI Scripting
  • Previous by thread: Re: creating image from itunes artwork
  • Next by thread: Re: Photoshop CS2 and GUI Scripting
  • Index(es):
    • Date
    • Thread