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

Re: Classic running?


  • Subject: Re: Classic running?
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 23 May 2002 20:41:21 +0100

On Thursday, May 23, 2002, at 02:02 PM, Paul Berkowitz wrote:

On 5/23/02 4:31 AM, "Robert Poland" <email@hidden> wrote:


Is there a simple command to check if Classic is running, without starting it?

I want to modify a script to bypass parts if Classic is not running.

tell app "Finder" to set procs to name of every process

if procs contains {"Classic Support"} then
-- blah
else
--blah blah
end if

Alternatively, and a bit more efficiently:

tell application "Finder" to get process "Classic Support" exists
if the result is true then
"Classic is running"
else
"Classic is not running"
end if


--Chris Nebel
AppleScript Engineering
_______________________________________________
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.

References: 
 >Re: Classic running? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: getting application running information.
  • Next by Date: Re: Setting System date using Applescript
  • Previous by thread: Re: Classic running?
  • Next by thread: Getting the configuration method of an active interface
  • Index(es):
    • Date
    • Thread