automated network folder mount script for mac
set myip to do shell script “ifconfig | grep ‘broadcast’ | awk ‘{print $6}’”
if myip = “10.168.1.255″ then
mount volume “smb://workgroup;username:password@10.168.1.254/path/”
else
display dialog “Not able to connect server” buttons {“ok”} default button “ok”
end if
[...] 16 December 2009, 13:08 by pygospa I just found this pretty neat script for Mac OS X to auto-mount network filesystems, according to your IP. Nothing fancy, but as most of [...]