#How to Automount network drive on osx startup using Automator
##Step 1: Create an Automator app that connects to your network drive
- Launch Automator.
- Choose Application from the new document dialogue.
- In the search field enter pause.
- Drag the pause action from the results to the right pane.
- Enter 10 seconds to slightly delay the connection attempt to ensure your network connection (wi-fi or otherwise) is ready.
- Do a search for server in the search field.
- Now drag Get Specified Servers and Connect to Servers (in that order) to the right pane.
- In the Get Specified Servers dialogue click Add... and select or enter the address to your network drive. Click OK.
- Disconnect from your network drive (eject it), and click Run in Automator to test it. Your network drive should connect after a 10 second delay.
- Now save your application. I created a folder called Scripts in my home directory and saved it in there as ConnectToNetworkDrive.
##Step 2: Add the Automator script to your startup items to reconnect to the network drive when you restart
- In System Preferences select Users & Groups then your user account.
- Select the Login Items tab then drag your newly created Automator app onto the pane.