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: Bill Cheeseman <email@hidden>
- Date: Sat, 02 Feb 2002 12:02:07 -0500
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
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont