View Full Version : Applescript modifying properties with system events

Feb 21, 2012, 01:00 AM
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

Feb 21, 2012, 10:54 AM
One thread is enough. Replies in the original please: http://forums.macrumors.com/showthread.php?t=1324240