• 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
more mounting afp volume weirdness...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more mounting afp volume weirdness...


  • Subject: more mounting afp volume weirdness...
  • From: Bret Linford <email@hidden>
  • Date: Thu, 15 Feb 2001 14:33:26 -0800

I asked a question previously about a problem that may be a Keychain issue
but I have another problem with my script. We have several server volumes
that have some similar naming conventions. For example, we have
"server1.3.0" and "server1.3.1". The problem is that if "server1.3.0" is
mounted and I run the below script (which is for server1.3.1), "server1.3.0"
will unmount. Both volumes have the same user/password combo. Any ideas?
Thanks!

tell application "Finder"
if (is mounted "server1.3.1") then
--Check if volume is mounted - Requires "MountServer" OSAX
UnmountServer "server1.3.1"
else
try
mount volume "afp://user:email@hidden/server1.3.1"
--Tries to mount volume. Change user name:password accordingly
end try
end if
end tell
--
Bret


  • Prev by Date: Mouse click
  • Next by Date: WHEN WILL THE LIST SERVER BE FIXED?
  • Previous by thread: Mouse click
  • Next by thread: WHEN WILL THE LIST SERVER BE FIXED?
  • Index(es):
    • Date
    • Thread