Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Elven

macrumors 6502a
Original poster
May 13, 2008
862
1
UK
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.
 
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

-Rich-
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.