To make SuperDuper! run a script just prior to backup, 

Open this script in "Script Editor" and 
save the apple script as an application, 
(also keep a "script" version just to make sure you can still edit it later). 
It can be saved to any location. 
Then, in SuperDuper, select your source & destination drives and click
the "options" button. Click "Advanced" tab and 
X the box for "Run a shell script before copy starts"; and 
select your script. 
Click OK to exit this window and if you like, 
"Schedule" this whole operation to happen on a regular basis. 

Hope this helps.

Best,
 Dave Nathanson
 Mac Medix

in reply to ([EMAIL PROTECTED]), Dave N's message of 11:25 PM, 11/12/07

>The following applescript can be run by SuperDuper just before backup to
>Quit PowerMail, and save any open messages. 
>
>Quit_PowerMail_If_Running_Save_Drafts.applescript
>------------------------------------------------
>
>set targetApp to "PowerMail"
>tell application "System Events"
>       set processExists to exists process targetApp
>end tell
>
>
>if processExists is true then
>       tell application "PowerMail"
>               repeat with i from 1 to (count of windows)
>                       try
>                               if window i is modified then
>                                       close window i with saving
>                               end if
>                       end try
>               end repeat
>               quit
>       end tell
>end if
>------------------------------------------------
>
>Hope this helps.
>
>Best,
> Dave Nathanson
> Mac Medix
>
>in reply to ([EMAIL PROTECTED]), Rick Lecoat's message of 6:32
>AM, 11/12/07
>
>>Superduper can run a script prior to backup that could deal with the
>>shutting down of PM,
>
>



Reply via email to