#1
|
|||
|
|||
another mount/unmount question
Okay I know this subject has been dealt with over and over but I still don't understand how to do what I need to do.
I have an external HD that I want to mount before the SD! job and unmount after the SD! job. From my reading here I was able to create two applescripts that will mount and unmount. I saved them as applications. I can run them from the Finder by clicking on them and they work fine. The problem is, the mount script doesn't run before SD! tries to access it. Is there a way to have SD! run the mount script before it does anything? I read the following from Dave: "If you're doing this scheduled, Control-click the settings package in the Scheduled Copies folder (in Library/Application Support/SuperDuper!). Then edit the Copy Job.applescript you find in there. Add your commands to mount/unmount to the documented areas at the top of the script. Save the script file, then go into SD! Uncheck and re-check the schedule checkbox (Edit the schedule). That'll re-compile the script for you, and you should be all set." I don't see the Copy Job.applescript you speak of. I see my scheduled job but what do I edit that with? That may have nothing to do with what I'm trying to do. Here's my mount script: set targetDisk to "LaCie Backup" tell application "Finder" if not (exists the disk targetDisk) then try do shell script "diskutil mount `disktool -l | grep '" & targetDisk & "' | sed 's/.*\\(disk[0-9s]*\\).*/\\1/'`" end try repeat while not (exists the disk targetDisk) delay 1 end repeat end if end tell Here's my unmount script: set targetDisk to "LaCie Backup" tell application "Finder" if (exists the disk targetDisk) then eject targetDisk delay 2 end if end tell Again, those scripts work fine when selecting in Finder. Thanks much, Randall |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Yet another iTunes/SuperDuper! question | JJJJS | General | 6 | 06-22-2006 08:37 AM |
Copy Newer, Copy Different ... one more question | arnaud | General | 6 | 05-09-2006 04:30 PM |
YASQ (Yet Another Script Question) | Maxy | General | 7 | 03-16-2006 11:18 AM |
Partition Question (& General Question) | thornomad | General | 3 | 09-24-2005 10:49 AM |
Easy (I think) Newbie Question: B/U 2 Vols? | villageidiot | General | 3 | 08-26-2005 06:38 PM |