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

Re: Testing for running app?


  • Subject: Re: Testing for running app?
  • From: hciR nellA <email@hidden>
  • Date: Tue, 3 Apr 2001 16:21:17 -0800

tell app "Finder" to set appList to name of every process
if appList contains "nameOfApp" then
-- do stuff
end if
--
On Monday, April 2, 2001, at 03:19 PM, T.J. Mahaffey wrote:

Ok, our buddy Danny Goodman has helped me out of some pickles lately, but I
can't find in the pages of his infinite wisdom how to test for whether or
not an app is running.

I'd like to do something like this:

if app "Cumulus 5 Client" is running

-- do something neat

else

-- do something else

end if

I know this must be simple, but I'm not getting it.
It's just the wording, I'm guessing, but the correct wording doesn't seem to
be "running" or "is active".

- hcir
mailto:email@hidden
Made with a Mac!


References: 
 >Testing for running app? (From: "T.J. Mahaffey" <email@hidden>)

  • Prev by Date: Testing Internet Connection
  • Next by Date: path to an NT Server?
  • Previous by thread: Testing for running app?
  • Next by thread: Re: Testing for running app?
  • Index(es):
    • Date
    • Thread