View Single Post
  #7  
Old 05-01-2006, 05:57 AM
bethri bethri is offline
Registered User
 
Join Date: Apr 2006
Posts: 7
Dave: for example, using this code as suggested:

Code:
property diskname : "G5Backup"

tell application "Finder"
	if not (exists the disk diskname) then
		do shell script "diskutil mount `disktool -l | grep 'G5Backup' | sed 's/.*\\(disk[0-9s]*\\).*/\\1/'`"
		delay 1
	end if
end tell

delay 2
gives me errors about multiple run handlers or top-level commands wherever in the script I try to place it.

Ben
Reply With Quote