Lion broke scripts
Lion broke scripts
- Subject: Lion broke scripts
- From: Robert Poland <email@hidden>
- Date: Sat, 15 Oct 2011 10:16:08 -0600
Hi,
Now I remember why I was in no hurray to upgrade to Lion.
The line
"tell application "System Events" to set applicationName to name of menu bar item 2 of menu bar 1 of (first process whose frontmost is true)"
generates the error;
System Events got an error: Can't get menu bar 1 of process 1 whose frontmost = true. Invalid index.
Is there a simple cure?
TIA,
Robert Poland - Fort Collins, CO
_______________________________________________
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