OS X Automatic Volume Mount

Here are two very simple solutions made possible by automation tools baked right in Mac OS X: AppleScript & Automator.


You can use AppleScript to make a a very simple app that will mount your shares without opening any new Finder windows.

  1. Open AppleScript Editor and put in this script:
    tell application "Finder"
        mount volume "afp://Share.local/folder" as user name "username"
    end tell
  2. Adapt it to your need (configure your shares)
  3. Save it as an application
  4. Add it to your login items in the “Accounts” preference pane

It may ask your password the first time, but you can save it in Keychain and won’t bother you anymore.

Of course, you can mount multiple disk by adding some additional mount volume lines.


If you prefer a visual interface, you can use Automator as well.

  1. Open Automator and choose “Application”
  2. Add action “Get Specified Servers” (in the “Files & folders” section)
  3. Add your shares in the list
  4. Add action “Connect to Servers” (in the same section)
  5. Save the application
  6. Add it to your login items in the “Accounts” preference pane