Re: OS X: AS 1.8.2b1: ask System Events for a running process
Re: OS X: AS 1.8.2b1: ask System Events for a running process
- Subject: Re: OS X: AS 1.8.2b1: ask System Events for a running process
- From: Deivy Petrescu <email@hidden>
- Date: Sat, 2 Feb 2002 16:22:43 -0500
At 13:00 -0800 2/2/02, Paul Berkowitz wrote:
> I say I assume the System Events application serves some other
purpose, too,
because I can't think why it would be there at all, otherwise. Since I don't
understand it, I worry that it might go away in some future release, which
is another reason to continue telling the Finder to do this sort of thing.
Maybe one of the Chrises can fill us in on why System Events is there.
Hmmm. My understanding is that it's actually "System Events" that does these
things (processes) in OS X, and that it's just in the Finder dictionary,
listed under "Legacy Suite" _only_ to provide consistency with OS 7/8/9
scripts. _My_ fear is this (the Finder's Legacy Suite) is what might one day
disappear, not System Events, the new app.
My guess is that this change was made because a) processes are really a
system-wide thing, not related to the UI and the user's desktop - which is
really what the OS X Finder mostly handles - and b) as such, it is best off
under the control of the AppleScript team and not the Finder team.
Some events are handled by "System Events" even if ones calls the
"Finder". Other events are "Finder" only, that is, if one calls
"System Events" one gets an error. I know that "System Events" does
not allow user interaction, only the "Finder" does.
It seems that for the near future, both will survive.
--
Deivy Petrescu
http://www.dicas.com