Re: [OS X] Any way to determine frontmost app?
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