• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS X: AS 1.8.2b1: ask System Events for a running process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: OS X: AS 1.8.2b1: ask System Events for a running process
      • From: hcir <email@hidden>
References: 
 >Re: OS X: AS 1.8.2b1: ask System Events for a running process (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Halting Problem solved! (was Re: applescript-users digest, Vol 3 #100 - 13 msgs)
  • Next by Date: Re: Week of year - odd/even week
  • Previous by thread: Re: OS X: AS 1.8.2b1: ask System Events for a running process
  • Next by thread: Re: OS X: AS 1.8.2b1: ask System Events for a running process
  • Index(es):
    • Date
    • Thread