|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hello,
I am still trying to get at least a bit of a handle on GUI scripting and am running into the following error when accessing menus:
System Events got an error:
NSReceiverEvaluationScriptError: 4
The script in question is the following:
tell application "Preview"
activate
end tell
delay 10
tell application "System Events"
tell process "Preview"
click menu item "Open" of menu "File" of menu bar 1
delay 1
end tell
end tell
| References: | |
| >GUI Scripting: accessing menus causes error (From: Henrik Boes <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.