• 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: [OS X] Any way to determine frontmost app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OS X] Any way to determine frontmost app?


  • Subject: Re: [OS X] Any way to determine frontmost app?
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 13 Jun 2001 06:40:07 -0700

On 6/12/01 11:35 PM, "Donald S. Hall" <email@hidden> wrote:

> Hi all,
>
> Does anyone know of any way to determine which app is frontmost in OS X?
> "process" or "processes" no longer seems to be there. In OS 9 I would have
> looked in the list of processes for the one who 'frontmost' was true.
>

What still works, surprisingly, is

path to frontmost application

(or --- current application - same thing)

Then you can parse the result for the bit after the last colon, and put
'application' before it, if it is a regular application, at least.

--
Paul Berkowitz


References: 
 >[OS X] Any way to determine frontmost app? (From: "Donald S. Hall" <email@hidden>)

  • Prev by Date: Re: Applescript Worm Virus on the loose?
  • Next by Date: Re: Quark ps-file
  • Previous by thread: [OS X] Any way to determine frontmost app?
  • Next by thread: [OS X] Anyway to hide an applet after launch?
  • Index(es):
    • Date
    • Thread