• 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: Quitting all applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quitting all applications


  • Subject: Re: Quitting all applications
  • From: Ehsan Saffari <email@hidden>
  • Date: Sat, 10 Mar 2001 07:34:25 -0600

On 9 Mar 2001 10:04:46 Amir Bozorgzadeh <email@hidden>,
wrote:

>I have written a script to quit all open applications and restart the mac.
>Is there anyhting I should look out for when doing this. I would also like
>it to not quit the finder. Is there a syntax for excluding the finder from
>this quit. Thanks for the help. Here is what I have so far.
>
>tell application "Finder"
> activate
> quit (open applications)
> restart
>end tell

A plain [tell application "Finder" to restart] will quit all open apps,
without quitting the Finder, and restart.

What needs to be looked out for is apps that have open documents
and need user interaction before they can quit.

open a new text doc in simpletext and try it.

hth
ehsan


  • Prev by Date: Re: Components - How to?
  • Next by Date: Re: display dialog requires security components
  • Previous by thread: quitting all applications
  • Next by thread: Re: Quitting all applications
  • Index(es):
    • Date
    • Thread