PDA

View Full Version : "Require password to wake this computer from sleep or screen saver"




DeDMakar
Jun 16, 2008, 08:22 AM
HI!!!
How programmatically to check the "Require password to wake this computer from sleep or screen saver"?

Macarov Anatolii.



sord
Jun 16, 2008, 10:14 AM
I would imagine/hope its not possible (for security reasons).

If it is, its probably something set in /Library/Preferences, but thats just a guess.

robbieduncan
Jun 16, 2008, 10:17 AM
AppleScript with UI scripting turned on can check/uncheck anything. I think the user will see it happen though...

sord
Jun 16, 2008, 05:52 PM
AppleScript with UI scripting turned on can check/uncheck anything. I think the user will see it happen though...
You will also get issues for users like me who lock down the System Preferences (as everyone should)