Thread: Scripts
View Single Post
  #13  
Old 03-16-2006, 01:25 PM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
OK it still doesn't do anything, as you may have guessed I've no experience whatsoever with scripting!!

How do I modify this so it works:-

-- SuperDuper! scheduled copy script template (c) 2005-2006 by Bruce Lacey. Published by Shirt Pocket.
-- Script by Dave Nanian and Bruce Lacey

on beforeRunningCopy()
tell application "Finder"
if not (exists the disk Backup) then
do shell script "diskutil mount disk0s5"
delay 1
end if
end tell

delay 2
beforeRunningCopy()
end beforeRunningCopy

on afterRunningCopy()
tell application "Finder"
if (exists the disk "Backup") then
eject "Backup"
delay 2
end if
end tell

delay 2
afterRunningCopy()
end afterRunningCopy
Reply With Quote