Re: Newbie Backup Dialog
Re: Newbie Backup Dialog
- Subject: Re: Newbie Backup Dialog
- From: Mr Tea <email@hidden>
- Date: Tue, 29 May 2001 21:45:09 +0100
This from John McMillan - dateline 29-05-01 1.08 PM:
>
...I have a dialog to display that the backup was completed successfully. My
>
problem is that the dialog times out because there is no human intervention
>
until the next morning.
How you approach this will depend on how visible you want to make the
notification that the backup has been completed. You probably don't want a
dialog sitting on screen all night, waiting for someone to come and dismiss
it.
A discreet solution would be to write the information into the backed-up
folder's comment box - you can do this with a single line in a Finder tell
block:
set comment of [reference to folder] to "Backed up on " & date string of
(current date) & " at " & time string of (current date)
You could also use the script to open the folder's information window so
that the comment is displayed on screen for the next user to see, by
including the line:
open information window of [reference to folder]
This is a low-tech approach, but it has a couple of benefits: the
information about the success (or failure) of the backup is not lost when
the info window is closed (as it would be when dismissing an applescript
dialog), and leaving the info window open will not interfere with any other
processes that might need to take place when the computer is unattended
(like indexing the contents of your drives, running diagnosic programmes,
etc).
HTH
Mr Tea
--
Brew of the day: Breakfast Blend