So you’ve got a shiny new iPhone, but can’t do much with it’s built in Bluetooth other than use a headset, right?
Wrong.
Using Proximity, an OS X menu bar application, you can run any AppleScript when your bluetooth device (in our case, the iPhone) comes in and out of range of your Mac. This can be used to lock the screen, connect (or disconnect) to a server, change Energy Saver settings, sleep your Mac, or just about anything you can write an AppleScript for.
When I first discovered this neat little application last year, my co-worker wrote an AppleScript to launch iTunes and play Back in Black, by AC/DC….ok, so maybe it’s not THAT useful.