• 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: Shutdown backup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shutdown backup


  • Subject: Re: Shutdown backup
  • From: email@hidden
  • Date: Sun, 24 Dec 2000 12:05:56 EST

this will do the shutdown thing:

display dialog "Shut down or resart?" buttons {"Shut Down", "Restart"}
default button 1
if the button returned of the result is "Shut Down" then
tell app "Finder" to shut down--in these, change 'finder' to whatever it
is in your OS
else
tell app "Finder" to restart
end if


for the first part, you need to search through files for those whose
modification date is since the last shutdown, and you may need an osax like
find file (URL, anyone?).


  • Prev by Date: Re: Script not quitting Entourage
  • Next by Date: Re: Tell Launcher to quit
  • Previous by thread: Re: Shutdown backup
  • Next by thread: For Eudora and Scripter Users
  • Index(es):
    • Date
    • Thread