Re: Backup at shutdown
Re: Backup at shutdown
- Subject: Re: Backup at shutdown
- From: Shane Stanley <email@hidden>
- Date: Thu, 19 Jul 2001 12:14:15 +1000
On 19/7/01 11:54 AM +1000, Vladimir Tittl, email@hidden, wrote:
>
I'm a newby with applescript and am wondering if via a script it is
>
possible to run a backup program when selecting shutdown, it should be
>
relatively easy?
It depends. If the application is scriptable, it can be relatively
straight-forward. But if it's not, as you seem to be suggesting in this
case, you have to drive the interface by clicking on buttons, and then it's
very much trial and error. You probably need to use something like Prefab
Player.
The other problems I see in what you outlined are (a) you can't distinguish
between a shutdown and a restart (probably easily solved by just making the
backup script a separate clickable icon on the desktop), and (b) how you
tell when the backup has finished (maybe the app quits; it's hard to know
from your message).
--
Shane Stanley, email@hidden