• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Application and application process are legacy in OS X finder suite: how do I find the frontmost app? (From: Timothy Bates <email@hidden>)

  • Prev by Date: Re: Application and application process are legacy in OS X finder suite: how do I find the frontmost app?
  • Next by Date: Re: TIDs store and restore WAS Re: AsciiNumber & AsciiCharacter
  • Previous by thread: Is "item n whose..." valid?
  • Next by thread: Re: Files and Aliases under OS 9.2 & AS 1.7
  • Index(es):
    • Date
    • Thread