Chapter 13. Creating a Bluetooth Proximity Monitor

Ready to get up, stretch, and walk away from your computer? First you’ll have to follow a checklist that has probably become second nature—pause iTunes, mute the volume, set your instant messenger applications to away, and lock the screen. It all had to be performed manually, until now.

The next time you step away from your computer, how about just taking your iPhone, smartphone, or iPad with you? With a Bluetooth proximity monitor running, your Mac will know the device has moved out of range and will run an AppleScript to perform a series of actions, like locking the screen and pausing iTunes. When you return, your Mac will run a different AppleScript to unlock your screen and start playing music ...

Get Master Your Mac now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.