Tag: Samba
Leopard mount samba shares
by matt on Aug.05, 2008, under Mac OS X Hints, Rantings
I have created a basic apple script that offers the user feedback about the progress of mounting your network samba shares on Leopard.
To use this script, post it into Script Editor, update the relevant server and share variables.
Click the Run button to test the script out.
Once you are happy with your new script, choose File > Save.. and choose Application as the File Format, and check ‘Run Only’ from the options in the Save dialog box.
tell application "Finder"
activate
set theSharesCount to 3
try
display dialog "Mounting Share 1 of " & theSharesCount giving up after 1 with icon note
mount volume "cifs://WORKGROUP;matt@workserver/websites"
end try
try
display dialog "Mounting Share 2 of " & theSharesCount giving up after 1 with icon note
mount volume "cifs://WORKGROUP;matt@workserver/source"
end try
try
display dialog "Mounting Share 3 of " & theSharesCount giving up after 1 with icon note
mount volume "cifs://WORKGROUP;matt@workserver/admin"
end try
end tell

