• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mount volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Mount volume
      • From: "Christian Roth" <email@hidden>
    • Re: Mount volume
      • From: Emmanuel Levy <email@hidden>
    • Re: Mount volume
      • From: Sander Tekelenburg <email@hidden>
    • Re: Mount volume
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: Mail windows
  • Next by Date: Re: Mount volume
  • Previous by thread: Re: Mailbox question
  • Next by thread: Re: Mount volume
  • Index(es):
    • Date
    • Thread