• 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: Is Classic running?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is Classic running?


  • Subject: Re: Is Classic running?
  • From: Sander Tekelenburg <email@hidden>
  • Date: Sun, 16 Oct 2005 17:15:30 +0200

At 07:29 -0700 UTC, on 2005/10/16, Michael Smith wrote:

> I can't remember or find out how to check to see if Classic is running.

I'd try something like this:

tell application "System Events"
	"Classic Support" is in (name of every process)
	-->true/false
end tell

I've never checked whether it's also called "Classic Support" on non-english
systems though.

> The script I am working on needs to wait until Classic has finished
> starting up in order to proceed.
>
> Something like this;
> if "Classic" is running false
> delay 2

delay sucks for this sort of use. CPU waste. Lean about the "on idle" handler
from the AppleScript Language Guide. The ASLG used to be available from
<http://www.apple.com/applescript/> but it looks like Apple has once again
broken their URLs and turned this into a marketing page with no links to tech
info :( Try Google:
<http://www.google.com/search?q=AppleScript Language Guide>


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Is Classic running?
      • From: Christopher Nebel <email@hidden>
    • Re: Is Classic running?
      • From: Yvan KOENIG <email@hidden>
    • Re: Is Classic running?
      • From: Dave Balderstone <email@hidden>
    • Re: Is Classic running?
      • From: Michelle Steiner <email@hidden>
References: 
 >Is Classic running? (From: Michael Smith <email@hidden>)

  • Prev by Date: Choose from list
  • Next by Date: Re: Choose from list
  • Previous by thread: Is Classic running?
  • Next by thread: Re: Is Classic running?
  • Index(es):
    • Date
    • Thread