menu bar 1 in 10.8?
menu bar 1 in 10.8?
- Subject: menu bar 1 in 10.8?
- From: LuKreme <email@hidden>
- Date: Thu, 27 Jun 2013 05:00:04 -0600
Is there a change in System Events GUI scripting recently?
tell application "Mail"
tell application "System Events"
click menu item "Add Account" of menu 1 of menu bar item "File" of menu bar 1
end tell
end tell
=> error "System Events got an error: Can’t get menu bar 1." number -1728 from menu bar 1
I also tried this:
tell application "Mail"
tell application "System Events"
tell menu bar 1
tell menu "File"
click menu item "Add Account"
end tell
end tell
end tell
end tell
With the same results.
--
"Remember -- that which does not kill us can only make us stronger."
"And that which *does* kill us leaves us *dead*!"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden