Mount volume
Mount volume
- Subject: Mount volume
- From: "Script2" <email@hidden>
- Date: Wed, 18 Feb 2009 08:48:07 -0500
- Importance: Normal
I recently changed from 10.3.9 to 10.4.11 on one of the MAC. I had script on
10.3.9 that would mount 5 volumes without any problem. On 10.4.11 when I run
this script it mounts sometimes 2 or 3 volumes never all 5. I tried adding
"delay" in between but this does not work.
Tell application "Finder"
If not (exists disk "Data") then
Try
Mount volume "afp://ruby:email@hidden/Data"
End try
End if
If not (exists disk "Data1") then
Try
Mount volume "afp://ruby:email@hidden/Data1"
End try
End if
If not (exists disk "Data2") then
Try
Mount volume "afp://ruby:email@hidden/Data2"
End try
End if
If not (exists disk "Data3") then
Try
Mount volume "afp://ruby:email@hidden/Data3"
End try
End if
If not (exists disk "Data4") then
Try
Mount volume "afp://ruby:email@hidden/Data4"
End try
End if
End tell
What needs to change.....
Thanks
Ruby
_______________________________________________
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