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 12:26:36 -0500
At 12:02 -0500 2/2/02, Bill Cheeseman wrote:
on 02-02-02 11:04 AM, cris at email@hidden wrote:
Before I file a bug, I wonder if anyone can confirm this under AS 1.8.2b1 on
OS X 10.1.2: Asking System Events for a *running* process ends in an AE
timeout:
tell application "System Events" to process 1 whose creator type is "MACS"
The correct syntax is:
tell application "Finder" to get every process whose creator type is "MACS"
And yes, it times out for me. Using this:
tell application "Finder" to get creator type of every process
Returns {"", "????", "MACS", "dock", "syui", "QD_X", "Blhz", "snpZ", "sgiK",
"Qkys", "MODd", "Aio9", "Blhd", "KMKX", "????", "????", "CMon", "pbxa",
"MSWD", "OPIM", "MSIE", "ttxt", "netc", "ToyS", "sevs"}
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
Beg to disagree. I have AS 1.8.1, but unless there was a drastic
change, you can write
tell app "System Events" to get every process whose creator type is "MACS"
-->{process "Finder" of application "System Events"}
and at least in 1.8.1, it does not time out.
--
Deivy Petrescu
http://www.dicas.com