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: Sat, 01 Oct 2016 23:31:38 +0200
> Le 1 oct. 2016 à 18:15, Anthony Fedd a écrit :
>
> Axel,
>
> Thank you for your response and recommendation!
>
> I'm not sure if I'm doing something wrong, but I'm not getting a successful or desired result after issuing the following two commands.
>
> do shell script "/usr/bin/defaults write com.apple.screensaver askForPassword -int 0"
> tell application "System Events" to set security preferences's require password to wake to false
>
> Can you tell me if there is something more or different I should do?
Hello Anthony,
According to my quick trials under Sierra, the first statement should be sufficient:
do shell script "/usr/bin/defaults write com.apple.screensaver askForPassword -int 0"
For an admin user as well as for a standard user.
In what sense don’t you get the desired result?
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