mounting a volume with applescript
mounting a volume with applescript
- Subject: mounting a volume with applescript
- From: DealTek <email@hidden>
- Date: Thu, 20 Oct 2011 12:04:22 -0700
Hi All,
semi newbie question....
I use a simple Applescript below tied to iCal to trigger a backup of a folder to a folder on another computer on the network.
It works fine if the other volume is already mounted - but fails if not.
Q: Is there any additional coding I can use to try and mount the volume prior to running the rest of the script?
THANKS IN ADVANCE - DAVE
----------------------------
delay 1
set tSourceFolder to alias "mydrive:myfolder1:thisfolder"
set tDestFolder to alias "thedistination:putithere"
try
tell application "Finder" to duplicate tSourceFolder to tDestFolder with replacing
end try
say "end"
--
Thanks,
Dave - DealTek
email@hidden
[db-11]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden