Thursday, 21 June 2012

Applescript Help! Secuirty Settings


i trying create script set security settings on mbp running lion.

found example using system events


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

end tell


script runs , asks admin password each change. issue not change anything. need change preference don't understand why not working.
 

not every object let set properties that. try setting them individually.
 


Forums Macs Mac Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment