Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Security with Proximity and iAlertU' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Security with Proximity and iAlertU
Authored by: mtaylorGT on Jul 19, '11 10:31:08AM
Great hint. I use Phone Amego for similar functionality (triggering scripts on bluetooth in range / out of range). Just shows that there is more than one way to skin a cat.

Instead of a screensaver, I have it go to the login screen (What you see with fast user switching). To set a script in Phone amego, just set the applescripts dropbodwn on the main tab to out_of_range(label) and click "Set...", then choose the applescript of your choice.

The applescript to lock the screen is one line:

do shell script "'/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession' -suspend"

I prefer the login screen over the screensaver for this purpose because it gives an open path for a thief to log in to the guest account, which serves as a honeypot for prey, undercover, gadgettrak, lo-jack, etc. to help you recover your laptop without the thief needing to do a hard reboot.

[ Reply to This | # ]