Re: Is Classic running?
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