Detect the presence of your Bluetooth device and execute actions on your Mac.

BlueSense analyzes the signal of your Bluetooth device and executes any desired actions when you move or come back at proximity of your Mac.

BlueSense requires OS X 10.10 or later
BlueSense AppleScripts

How to send a growl notification in AppleScript

Download Growl Notify here : http://growl.info/downloads


try
	do shell script ("heure=$(date +'%H:%M:%S'); /usr/local/bin/growlnotify --appIcon '/Applications/BlueSense.app' --name BlueSense --noteName 'Device detected' -s --message \"$heure Welcome back to your desktop.\"")
end try