I think I got it figured out....can someone confirm that the following code will mount my external hard drive ("Macintosh HD Clone") prior to running SuperDuper, and will also unmount the drive after the cloning process has completed...
Code:
-- SuperDuper! scheduled copy script template (c) 2005-2008 by Bruce Lacey. Published by Shirt Pocket.
-- Script by Dave Nanian and Bruce Lacey
on beforeRunningCopy()
tell application "Finder"
if not (exists the disk "Macintosh HD Clone") then
try
do shell script "diskutil mount `disktool -l | grep 'Macintosh HD Clone' | sed 's/.*\\(disk[0-9s]*\\).*/\\1/'`"
end try
repeat while not (exists the disk "Macintosh HD Clone")
delay 1
end repeat
end if
end tell
end beforeRunningCopy
on afterRunningCopy()
delay 2
tell application "Finder"
if (exists the disk "local_home_backup") then
eject "local_home_backup"
delay 2
end if
eject "External HD"
end tell
end afterRunningCopy
Thanks!