Re: lock the screen from the keyboard, win a prize
Re: lock the screen from the keyboard, win a prize
- Subject: Re: lock the screen from the keyboard, win a prize
- From: Paul Skinner <email@hidden>
- Date: Mon, 25 Nov 2002 21:40:58 -0500
On Monday, November 25, 2002, at 07:34 PM, Paul Skinner wrote:
set previousState to do shell script "defaults -currentHost read
com.apple.screensaver askForPassword "
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword 1"
tell application "ScreenSaverEngine" to run
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword -" & previousState
oops...I had a dash in the last line that I shouldn't have. So sorry.
If you ran that one you can reset your prefs in the panel or you can
set it by running one of these...
PW
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword 1"
No PW
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword 0"
I meant to post...
set previousState to do shell script "defaults -currentHost read
com.apple.screensaver askForPassword "
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword 1"
tell application "ScreenSaverEngine" to run
do shell script "defaults -currentHost write com.apple.screensaver
askForPassword " & previousState
Has anyone else lost the ability to run a text selection as script
using CompileAndExecute service since they upgraded to Jaguar?
--
Paul Skinner
Mac OS X 10.2.2
AppleScript 1.9
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.