• 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: Toggle Screensaver
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Toggle Screensaver


  • Subject: Re: Toggle Screensaver
  • From: John Baltutis <email@hidden>
  • Date: Fri, 17 Feb 2006 12:45:16 -0800

On 02/17/06,  Mr Tea <email@hidden> wrote:
>
> I'm hankering after a script that toggles the interval before the
> screensaver kicks in between three minutes and eternity.
>
> Possible without GUI scripting?
>
> A shell script, perhaps?

Since the setting is stored in one of many ~/Library/Preferences/ByHost/
com.apple.screensaver.XXXX.plist files (there are four in my directory), you'll
have to find the one that includes the key IdleTime (in seconds). However,
although you can read it with the terminal command "defaults read
~/Library/Preferences/ByHost/ in the com.apple.screensaver.XXXX", AFAICT,
there's no way to write to it; all attempts result in a "Rep argument is not a
dictionary Defaults have not been changed." message. Good luck in your
endeavors. Plist manipulations are esoteric. See the manpage for defaults.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Toggle Screensaver
      • From: kai <email@hidden>
  • Prev by Date: Re: do shell script- sed conundrum
  • Next by Date: Re: do shell script- sed conundrum
  • Previous by thread: Re: Toggle Screensaver
  • Next by thread: Re: Toggle Screensaver
  • Index(es):
    • Date
    • Thread