Re: Toggle Screensaver
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