O'Reilly logo

Master Your Mac by Matt Cone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required