

Step 3: Create a shell script that launches the Automator app

Your network drive should connect after a 10 second delay. Disconnect from your network drive (eject it), and click Run in Automator to test it.and select or enter the address to your network drive.

In the Get Specified Servers dialogue click Add.Now drag Get Specified Servers and Connect to Servers (in that order) to the right pane.Do a search for server in the search field.Enter 10 seconds to slightly delay the connection attempt to ensure your network connection (wi-fi or otherwise) is ready.Drag the pause action from the results to the right pane.Choose Application from the new document dialogue.Step 1: Create an Automator app that connects to your network drive If you notice any differences or have any tips, please share them in the comments below. We'll be using Automator, shell scripts and the excellent SleepWatcher utility to make it work, so the tutorial assumes you have at least a passing familiarity with the command line.Īt the time of writing, I'm running OS X Mountain Lion 10.8.2, but I've had this working on 10.6 and 10.7 as well. Fear not, I have a solution for you that will ensure your network drive is always available.
DOWNLOAD SLEEPWATCHER MAC MAC
Whereas it's fairly trivial to instruct your Mac to connect to a network drive on start up, there is no support in OS X for reconnecting to that drive when the computer wakes from sleep. Equally likely, you've run into the annoyance of starting an application such as iTunes, iPhoto or Picasa that relies on the network drive being available, only to discover that it, well, isn't. If you, like me, have dipped your toes into the world of network-attached storage (NAS), you've probably been enjoying the benefits of having your music and photos stored in a central location accessible from all your household Macs.
