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

kodydoherty

macrumors newbie
Original poster
Feb 14, 2012
5
0
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
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.