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

Reply
 
Thread Tools Rate Thread Display Modes
  #16  
Old 03-16-2006, 06:47 PM
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
Mark --

Try simplifying things. Open Script Editor, and then JUST put in:

do shell script "diskutil mount disk0s5"

Run that. Does it work?
__________________
--Dave Nanian
Reply With Quote
  #17  
Old 03-17-2006, 07:30 PM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
Quote:
Originally Posted by dnanian
Mark --

Try simplifying things. Open Script Editor, and then JUST put in:

do shell script "diskutil mount disk0s5"

Run that. Does it work?
Yes it does
Reply With Quote
  #18  
Old 03-17-2006, 07:46 PM
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
Well, then, it should certainly work "live". You might want to do a "display dialog" in there, or something to show that it's running. If not, are you certain that you're recompiling it by changing your schedule?
__________________
--Dave Nanian
Reply With Quote
  #19  
Old 03-17-2006, 07:56 PM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
I just did this, and again it didn't mount the disk (then superduper quits after approx 5 secs):-

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

on beforeRunningCopy()
do shell script "diskutil mount disk0s5"
end beforeRunningCopy

on afterRunningCopy()
do shell script "diskutil unmount disk0s5"
end afterRunningCopy
Reply With Quote
  #20  
Old 03-17-2006, 07:57 PM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
Yes I am recompiling by editing the schedule (I know this because occasionally when I've got the syntax wrong etc. then after "editing" the schedule it says there's a script error).
Reply With Quote
  #21  
Old 03-17-2006, 08:21 PM
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
Try telling Finder or System Events to do the shell script. So:

tell application "System Events" to do shell script ...
__________________
--Dave Nanian
Reply With Quote
  #22  
Old 03-17-2006, 08:30 PM
MarkW19 MarkW19 is offline
Registered User
 
Join Date: Mar 2006
Posts: 19
Yes!! It's worked!!

Good work Dave
Reply With Quote
  #23  
Old 03-18-2006, 01:36 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
Yay! Finally... (whew)
__________________
--Dave Nanian
Reply With Quote
Reply


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 03:51 PM.


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