Sunday, 19 April 2015

Applescript modifying properties with system events


i running 10.7. want use system events change security settings on mac. when run script appears work asking password each 1 of changes. issue nothing happens after. never error nor settings changed.

tell application "system events"
tell security preferences
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
 



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