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