Use this neat little app to automate commands when you connect devices via bluetooth.
Bluetooth Butler is a nifty free app that automates certain actions whenever your computer disconnects or connects to a configured bluetooth device. Put your machine to sleep, shutdown, or run any Applescript!
Via AddictiveTips

