Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
- Subject: Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
- From: Deivy Petrescu <email@hidden>
- Date: Sun, 2 Jun 2002 11:56:53 -0400
At 4:04 PM +1000 6/2/02, Timothy Bates wrote:
This script is now broken under X (10.1.4)
tell application "Finder"
application process whose frontmost is true
-->Can't get application whose frontmost = true.
end tell
In the Finder dictionary, process and application process are listed as
legacy (and I guess are now broken?)
Anyone know what is the recommended new way to get the frontmost app?
Can't see anything in the standard additions.
tim
This works fine:
tell application "System Events"
set l to name of processes whose frontmost is true
end tell
display dialog l
However, there was probably a change since 10.1.2, I used to run this
script from scriptMenu and get the front app. Now I only get
SystemUIServer.
--
Deivy Petrescu
http://www.dicas.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.