Applescript modifying properties with system events

Discussion in 'Mac Programming' started by kodydoherty, Feb 20, 2012.

Thread Status:
Not open for further replies.
  1. macrumors newbie

    #1
    I am running 10.7. I want to use system events to change the security settings on my mac. When I run this script it appears to work by asking for my password for each one of the changes. The issue is nothing happens after. I never get an error nor is any settings changed.

    tell application "System Events"
    tell security preferences
    get properties
    set properties to {log out when inactive:false, automatic login:true, require password to unlock:false, log out when inactive interval:14, require password to wake:false}

    end tell

    end tell
     
  2. Moderator

    robbieduncan

    Staff Member

    #2
Thread Status:
Not open for further replies.

Share This Page