"Require password to wake this computer from sleep or screen saver"

Discussion in 'Mac Programming' started by DeDMakar, Jun 16, 2008.

  1. macrumors member

    Joined:
    Mar 24, 2008
    #1
    HI!!!
    How programmatically to check the "Require password to wake this computer from sleep or screen saver"?

    Macarov Anatolii.
     
  2. macrumors 6502

    Joined:
    Jun 16, 2004
    #2
    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.
     
  3. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    AppleScript with UI scripting turned on can check/uncheck anything. I think the user will see it happen though...
     
  4. macrumors 6502

    Joined:
    Jun 16, 2004
    #4
    You will also get issues for users like me who lock down the System Preferences (as everyone should)
     

Share This Page