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: Paul Berkowitz <email@hidden>
- Date: Sat, 02 Feb 2002 09:22:49 -0800
On 2/2/02 9:02 AM, "Bill Cheeseman" <email@hidden> 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:
As does
tell application "System Events" to get every process whose creator type is
"MACS"
[a more direct correction]
and substituting other creator types as well. It's just the whose filter
which is not working, as you say. This too (correct syntax is used) does
not work:
tell application "System Events" to get first process whose creator type is
"MACS"
--
Paul Berkowitz