• 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: how do I find out if an application is active?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I find out if an application is active?


  • Subject: Re: how do I find out if an application is active?
  • From: John Delacour <email@hidden>
  • Date: Mon, 24 Mar 2003 23:36:46 +0000
  • Mac-eudora-version: 6.0a13

At 2:39 pm -0800 24/3/03, Jennifer Kolar wrote:

Simple newbie question-

I want to have another script that tells that application to quit if it is
actually open..

set blah to "Safari"
tell app "Finder" to set blahRunning to processes whose name is blah
if blahRunning is not {} then tell app blah to quit

JD
_______________________________________________
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.

  • Follow-Ups:
    • Re: how do I find out if an application is active?
      • From: Andrew Oliver <email@hidden>
References: 
 >how do I find out if an application is active? (From: "Jennifer Kolar" <email@hidden>)

  • Prev by Date: Re: Word scripting?
  • Next by Date: Re: how do I find out if an application is active?
  • Previous by thread: how do I find out if an application is active?
  • Next by thread: Re: how do I find out if an application is active?
  • Index(es):
    • Date
    • Thread