#16
|
||||
|
||||
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 |
#17
|
|||
|
|||
Quote:
|
#18
|
||||
|
||||
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 |
#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 |
#20
|
|||
|
|||
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).
|
#21
|
||||
|
||||
Try telling Finder or System Events to do the shell script. So:
tell application "System Events" to do shell script ...
__________________
--Dave Nanian |
#22
|
|||
|
|||
Yes!! It's worked!!
Good work Dave |
#23
|
||||
|
||||
Yay! Finally... (whew)
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |