Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 16, 2008, 08:22 AM   #1
DeDMakar
macrumors member
 
Join Date: Mar 2008
Send a message via ICQ to DeDMakar Send a message via Skype™ to DeDMakar
"Require password to wake this computer from sleep or screen saver"

HI!!!
How programmatically to check the "Require password to wake this computer from sleep or screen saver"?

Macarov Anatolii.
DeDMakar is offline   0 Reply With Quote
Old Jun 16, 2008, 10:14 AM   #2
sord
macrumors 6502
 
Join Date: Jun 2004
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.
__________________
12" iBook 1GHz 768MB RAM 60GB HD Airport Extreme [sold and missed]
17" iMac G5 1.6GHz 768MB RAM 160GB HD [sold]
PowerMac Quad 2.5GHz G5 2.5GB RAM
sord is offline   0 Reply With Quote
Old Jun 16, 2008, 10:17 AM   #3
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
AppleScript with UI scripting turned on can check/uncheck anything. I think the user will see it happen though...
robbieduncan is offline   0 Reply With Quote
Old Jun 16, 2008, 05:52 PM   #4
sord
macrumors 6502
 
Join Date: Jun 2004
Quote:
Originally Posted by robbieduncan View Post
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)
__________________
12" iBook 1GHz 768MB RAM 60GB HD Airport Extreme [sold and missed]
17" iMac G5 1.6GHz 768MB RAM 160GB HD [sold]
PowerMac Quad 2.5GHz G5 2.5GB RAM
sord is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Why doesn't "require password after sleep" work? lylemo Mac Applications and Mac App Store 1 May 26, 2014 09:11 AM
No "Computer Sleep" setting in Energy Saver for nMP? michaeljk Mac Pro 7 Jan 4, 2014 04:42 PM
Toggle "Require Password to Wake" via menu bar? macdot OS X 10.8 Mountain Lion 1 Jan 27, 2013 12:28 PM
Can't Disable "Require Password after Sleep or Screen Saver" joejoe2010 OS X 10.8 Mountain Lion 4 Aug 1, 2012 07:10 PM
"Require password for sleep and screen saver" greyed out silverjam Mac OS X 10.7 Lion 0 Jul 7, 2012 01:12 AM

Forum Jump

All times are GMT -5. The time now is 07:18 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC