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: Paul Berkowitz <email@hidden>
- Date: Wed, 05 Jun 2002 02:16:40 -0700
On 6/5/02 1:03 AM, "HOnza Koudelka" <email@hidden> wrote:
>
This thread seems to be closed already but I didn't see answer to the
>
question about why these things are listed as legacy in the Finder's
>
dictionary...
>
>
The answer is quite simple - Finder is officially no longer
>
responsible for maintaining processes in Mac OS X. It's just an
>
application like any other. You should use application "System
>
Events" from within AppleScript to work with global things like
>
processes.
>
>
Unfortunately, not even all developers at Apple seem to know about
>
this and some of them still rely on Finder...
No, you're completely wrong. We have been told several times by Chris Nebel
and Chris Espinosa, who implemented the very system you're describing, that
we should NOT call application "System Events" because it may not always be
the application or method for handling processes, and other former Finder
events, in the future. We should instead continue to call the Finder because
the Finder will ALWAYS handle events and classes listed as legacy in its
Dictionary and will always pass the calls to whichever application or method
is the flavor of the month.
--
Paul Berkowitz
_______________________________________________
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.