Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
"Require Password to Wake Computer" - Hangs tripletaker OS X 1 May 9, 2010 07:51 AM
"Require password to wake from sleep" freezing? J the Ninja OS X 2 Mar 11, 2009 07:29 PM
Require password to wake this computer from sleep or screen saver 030108 OS X 0 Dec 24, 2008 03:06 AM
Hard to wake up computer from sleep tristan tumble MacBook Pro 10 Jul 28, 2008 06:30 PM
Require password to wake from sleep or screen saver question brentg33 OS X 0 Nov 1, 2007 04:37 PM


All times are GMT -5. The time now is 07:11 PM.

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

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