• 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: Christopher Nebel <email@hidden>
  • Date: Mon, 17 Oct 2005 11:22:08 -0700

On Oct 16, 2005, at 8:15 AM, Sander Tekelenburg wrote:

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

Better yet, say something like this:

    tell application "System Events"
        exists process "Classic Support"
        --> true/false
    end tell

It's faster, and it's what you wanted to know.


--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
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


References: 
 >Is Classic running? (From: Michael Smith <email@hidden>)
 >Re: Is Classic running? (From: Sander Tekelenburg <email@hidden>)

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