Re: AppleScript to Unlock Computer stopped working in 10.6
Re: AppleScript to Unlock Computer stopped working in 10.6
- Subject: Re: AppleScript to Unlock Computer stopped working in 10.6
- From: email@hidden
- Date: Wed, 30 Sep 2009 07:30:04 -0700
So I looked at your script and I wondered, why use the
screensaverengine, which doesn't have a dictionary and probably wasn't
intended to repsond to apple events. And what's wrong with doing it
this way....
--lock
tell application "System Events"
tell security preferences
set properties to {require password to wake:true}
sleep
end tell
end tell
--unlock
tell application "System Events"
tell security preferences
set properties to {require password to wake:false}
end tell
end tell
So I ran it and my mac stopped working, wouldn't wake from sleep, had
to reboot.
ES
_______________________________________________
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