• 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
Try to quit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Try to quit


  • Subject: Try to quit
  • From: email@hidden
  • Date: Mon, 11 Dec 2000 13:44:51 +0100

Hi
When I try to quit an application with applescript and the app is not
running it is launched by the script.
I thought theese simple lines should do what I want: that is quitting an
application just in case it is running.

tell application "Finder"
activate
try
quit application "Fetch 3.0.3"
end try
end tell

How has the script to be modified so that it simply quits a running
application and does not launch the app when it is not running.

Thanks for every help

Michael


  • Prev by Date: Re: 1.0000023E+5 to 100000.23 as text?
  • Next by Date: How to hide an application?
  • Previous by thread: standalone app crashes when running concurrently with IE 5.0
  • Next by thread: Re: Try to quit
  • Index(es):
    • Date
    • Thread