Re: Lion broke scripts
Re: Lion broke scripts
- Subject: Re: Lion broke scripts
- From: Luther Fuller <email@hidden>
- Date: Sun, 16 Oct 2011 09:53:03 -0500
On Oct 16, 2011, at 1:29 AM, Christopher Stone wrote: On Oct 15, 2011, at 11:16, Robert Poland wrote: Is there a simple cure?
______________________________________________________________________
Hey Bob,
Is there a need to UI-Script that?
tell application "System Events" name of first application process whose frontmost is true end tell
I've been using this variation on that theme for some time ...
tell application "System Events" to set frontAppl to (name of (some process whose frontmost is true)) as text
It works in 10.5, 10.6 and 10.7.
|
_______________________________________________
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