Re: Newbie Backup Dialog
Re: Newbie Backup Dialog
- Subject: Re: Newbie Backup Dialog
- From: cheshirekat <email@hidden>
- Date: Wed, 30 May 2001 02:23:45 -0600
On 05-29-2001 1445, Mr Tea may have typed or relayed in full or in part
...
>
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
Using the comments is a good option. It's one that I prefer over creating
a log. (I can still remember back when comments weren't saved through
desktop rebuilds.) It used to drive me nuts. That's always seemed like a
perfect place to store temporary notes to myself about files or folders.
Along with Finder labels, it is handy for storing data that would exceed
the file name limitations. In the past year or so I've tried to make
frequent use of the comments while I have a chance in my AppleScripts -
I'm hoping we still have something similar in OS X.
kat