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

Re: Try to quit


  • Subject: Re: Try to quit
  • From: Frank Watzl <email@hidden>
  • Date: Mon, 11 Dec 2000 17:12:15 +0100

---------
tell application "Finder"
set currProcs to processes
end tell

if "Fetch 3.0.3" is in currProcs then
tell application "Fetch 3.0.3" to quit
end if
---------

Frank Watzl
Frankfurt am Main


At 13:44 Uhr +0100 11.12.2000, email@hidden wrote:
>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


  • Prev by Date: Re: Try to quit
  • Next by Date: Re: How to hide an application?
  • Previous by thread: Re: Try to quit
  • Next by thread: Re: Try to quit
  • Index(es):
    • Date
    • Thread