View Full Version : Proximity Apple Script Question

Feb 27, 2009, 03:01 PM
I am totally and utterly useless in coding. I hate it. Totally not my thing.

I am after using Proximity to use the bluetooth in my iPhone 3G 8GB, to lock/unlock my MacBook 2.4GHZ when I leave/sit down at my desk.

It requires two Apple scripts for this, one to lock and the other obviously to unlock.

Any help be appreciated.

Mar 1, 2009, 03:44 PM
Here's the script I use, does this help? :)

--- phone_gone script

-- Activate the screen saver
tell application "ScreenSaverEngine" to launch

-- Pause iTunes
tell application "iTunes" to pause