Photoshop CS2 and GUI Scripting
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