Map drives based on location and protocol via AppleScript

Oct 24, '06 07:30:01AM

Contributed by: kainewynd2

This little AppleScript connects Mac users to their network drives using the correct protocol (after initial configuration). By default, the correct protocol depends on what your IP address is, so it will require customization for your environment. I took this and saved it as an Application Bundle based on the configuration in my location. This will obviously be different based on deployment area. This script will probably also be most useful for Technical Support people.

I am also aware that there are better ways to do the IP comparison. At this point, I leave that to you -- the pleasures of Open Source.

[robg adds: I haven't tested this one.]

Comments (0)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20061017133504510