Re: Shutdown backup
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?).