Re: Mac OS Sierra & System Events For
Re: Mac OS Sierra & System Events For
- Subject: Re: Mac OS Sierra & System Events For
- From: Axel Luttgens <email@hidden>
- Date: Tue, 27 Sep 2016 09:49:45 +0200
> Le 26 sept. 2016 à 22:56, Anthony Fedd a écrit :
>
> The following no longer seems to work since upgrading to Mac OS Sierra!
>
> tell application "System Events" to set security preferences’s require password to wake to false
Hello Anthony,
It appears that toggling that value from true to false thru the GUI (System Preferences) now requires the user’s consents, even a double one: the user’s password, then a confirmation.
In fact, this appears as a welcome security enhancement.
I guess above (silent) failure just reflects the fact.
> Is there a work around or alternative approach to achieve the desired result?
So far for the security enhancement:
do shell script "/usr/bin/defaults write com.apple.screensaver askForPassword -int 0"
HTH,
Axel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden