Sunday, November 11, 2007


With the help of Proximity ( and this the little applescript below I now have my screen saver locking within 10 seconds of me walking away from my mac. No need to trigger the screen saver or press a button, its taken care of. Very cool.

-- Silly little screen locker
-- to be used with Proximity:

display dialog "iPhone not nearby, locking screen. You have 5 seconds to cancel" buttons {"Continue", "Cancel"} default button "Continue" giving up after 5

do shell script ("open /System/Library/Frameworks/ScreenSaver.framework/Resources/")