• 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: Using tell application "name" where the name comes from GUI Script...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using tell application "name" where the name comes from GUI Script...


  • Subject: Re: Using tell application "name" where the name comes from GUI Script...
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 17 Apr 2003 08:22:40 -0400

on 03-04-17 7:32 AM, John Delacour at email@hidden wrote:

> At 10:54 am +0000 17/4/03, Kevin Bohan wrote:
>> 1. I changed the script from process to application process as per
>> Bill Cheeseman's response to my mail.
>
> That's Bill for you. You'd better ask him. So far as I'm concerned...
>
> tell application "System Events"
> count processes
> --> 25
> count application processes
> --> 25
> processes = application processes
> --> true
> end tell

Theoretically, there can be processes other than application processes. The
System Events 1.2 beta Processes Suite lists, in addition to 'application
process', 'desk accessory process'. The latter is presumably a legacy class
so scripts written for the classic Mac OS will still run on X. By limiting
the returned list to application processes, you theoretically reduce the
size of the list you have to loop through. So if, when you say, "that's Bill
for you," you're suggesting that Bill tends to be overzealous and picky
about theoretical details, you're right.

If, instead, you mean to suggest that Bill is stuck in the past, I
vehemently deny it on this, my 60th birthday. :-)

--

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
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Using tell application "name" where the name comes from GUI Script...
      • From: Michelle Steiner <email@hidden>
    • Re: Using tell application "name" where the name comes from GUI Script...
      • From: John Delacour <email@hidden>
    • OT - Happy Birthday Bill!
      • From: Mr Tea <email@hidden>
References: 
 >Re: Using tell application "name" where the name comes from GUI Script... (From: John Delacour <email@hidden>)

  • Prev by Date: Choosing variable names [was - Re: Read file bug?]
  • Next by Date: Is this a bug ?
  • Previous by thread: Re: Using tell application "name" where the name comes from GUI Script...
  • Next by thread: OT - Happy Birthday Bill!
  • Index(es):
    • Date
    • Thread