Hi!
here my situation, i need to do a backup script for the office, we have 2 firewire hard drive we do the backup via retrospect and each hard drive have their own script configure in retrospect. Basicly what i’ll like to do it’s have a script on my desktop that detect which hard drive is currently connect so run the correct backup and at the end confirm that the backup are done.
Hard Drive name:
Hard drive 1: BackUpEQ1, Hard drive 2: BackUpEQ2
Right now i have that part of the script done:
tell application “Finder” to activate
try
open application “Retrospect”
end try
delay 2
tell application “Retrospect”
execute “Work1”
execute “Project1”
execute “User1”
execute “VirtualPC1”
end tell
display dialog “Your BackUp is done”
Problem i allready have is the display dialog that doesn’t wait that the process of the backup is done… and i’ll like that dialog to only have one button that quit the script. Right now that script is only configure for the first hard drive, the second hard drive have the same script name in retrospect but with a “2” at the end at the place of a “1”.
Thank in advance!