MacOS – Automatically connect to shared device when detected

findermacosNetworksharing

Here is my need : I want my media center to be mounted in the /Volumes of my Macbook as soon as I turn it on.
So, I need to automate the Connect as action.

enter image description here

Users & groups > Login items only resolve one part of the equation : mounting the macmini on laptop startup.

How to silently establish connection if I boot up macmini while laptop is already running ?

Update:
http://www.kristijan.org/2010/11/automount-afp-shares-in-osx/ explain how to mount a volume using automount command.
Still, is there an event "Share just appeared on network" emitted somehow by the system that I could plug into to trigger when to execute the automount command ?

Best Answer

You should definately check out google first.

I'm guiding you in the right direction: This is a start click here.