• 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
Checking if an application is opened or not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Checking if an application is opened or not


  • Subject: Checking if an application is opened or not
  • From: email@hidden (Guillaume Iacino)
  • Date: Wed, 26 Feb 2003 15:17:53 -0800

Hi,

Sorry if this question has been asked before, but I am looking for the
proper way to detect if an application is already opened or not.

I have a script that unmounts all my external hard drives and closes some
apps too. My problems is that if the apps are not opened, my script opens
them and then quit them.....

tell application "Finder" to eject (every disk whose local volume is false)
tell application "Notes" to quit

Thank you for your insights.

Guillaume
_______________________________________________
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: Checking if an application is opened or not
      • From: Jeffrey Mattox <email@hidden>
  • Prev by Date: RA Connect
  • Next by Date: Re: Script for auto mounting a remote server volume?
  • Previous by thread: Re: RA Connect
  • Next by thread: Re: Checking if an application is opened or not
  • Index(es):
    • Date
    • Thread