| saint.duo |
06-26-2011 07:25 PM |
And it works, finally.
Code:
tell application "Finder"
activate
delay 5
set isMounted to exists disk "Archive"
end tell
if not isMounted then mount volume whichServer
Ended up doing the trick for that AppleEvent error. I also added timeouts to the finder duplicate, and the shell script (which probably doesn't do anything, but it isn't hurting). Tested with a 200GB and a 350GB folder, one with a local copy and one with a remote copy.
Thanks everyone.
Now I get to learn how to do essentially the same thing on a Windows machine, as well as find a good way to make .tgz files on windows.
|