There’s a fix for working on Snow Leopard, just read on MacDuff. Thanks to David and Januz for this!
Recently, I’ve been looking for a script to toggle my screen-saver password for my MacBook.
While out and about I want to make sure my Mac is safe from stray fingers by making sure a password is required before waking, but when at home or in university there’s no need for this extra layer of protection.
Searching the web I found absolutely nothing, except a few scripts that were old and broken.
The only solution; I decided to write my own. You can download the applescript here in zip form (10.6 – Snow Leopard compatible version here), or view the script in your browser here (10.6 – Snow Leopard compatible version here). (Warning – it’s not the easiest thing to read!)