View Single Post
  #10  
Old 05-01-2006, 10:46 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
I'd suggest the following. Get rid of the Property, then:

Code:
beforeRunningCopy()
    -- Put your own code here that should execute just before running  
the copy.
    
tell application "Finder"
    if not (exists the disk "G5Backup") then
        try
            do shell script "diskutil mount `disktool -l | grep 'G5Backup' | sed 's/.*\\(disk[0-9s]*\\).*/\\1/'`"
        end try
        
        repeat while not (exists the disk "G5Backup")
            delay 1
        end repeat
    end if
end tell
    
end beforeRunningCopy
__________________
--Dave Nanian
Reply With Quote