• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lock the screen from the keyboard, win a prize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: lock the screen from the keyboard, win a prize (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: Importing flat files into FMP
  • Next by Date: Re: [OT] Setting ifconfig
  • Previous by thread: Re: lock the screen from the keyboard, win a prize
  • Next by thread: Re: lock the screen from the keyboard, win a prize
  • Index(es):
    • Date
    • Thread