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

DeDMakar

macrumors member
Original poster
Mar 24, 2008
39
0
HI!!!
How programmatically to check the "Require password to wake this computer from sleep or screen saver"?

Macarov Anatolii.
 

sord

macrumors 6502
Jun 16, 2004
352
0
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.
 

sord

macrumors 6502
Jun 16, 2004
352
0
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)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.