Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 03-16-2006, 07:28 AM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
I've done diskutil mount disk0s5, and diskutil unmount disk0s5 in terminal, and both work perfectly.

However, my script doesn't appear to work (it won't mount Backup if it's not already mounted):-

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
end beforeRunningCopy

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

delay 2
end afterRunningCopy

What am I doing wrong?
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Shell Scripts cucciasv General 1 02-26-2006 09:31 PM
Partitioning & Bu Strategy & scripts MacMedix General 1 09-19-2005 09:09 PM
Scheduled SU backups edoates General 2 07-27-2005 06:53 PM
What does Edit > Show All Copy Scripts do? (seriously) Darkside General 3 05-12-2005 11:01 AM
Questions about "exclude system cache/temporary files" Copy Scripts Darkside General 1 05-12-2005 09:48 AM


All times are GMT -4. The time now is 12:44 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.