Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.lang.applescript > #9

Re: [Applescript/shell script] how could I change the images folder of the screen saver ?

From Jolly Roger <jollyroger@pobox.com>
Newsgroups alt.comp.lang.applescript
Subject Re: [Applescript/shell script] how could I change the images folder of the screen saver ?
Date 2015-09-25 18:37 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <d6lijaFp5p5U1@mid.individual.net> (permalink)
References <1mbaqiz.mlg4zx1jpm854N%blanc@empty.org> <d6l7k3Fm5j3U1@mid.individual.net> <1mbbgem.1c5wgf1wg8lxjN%blanc@empty.org>

Show all headers | View raw


On 2015-09-25, JiPaul <blanc@empty.org> wrote:
>
> I've found too the following file :
> ~/Library/Preferences/ByHost/com.apple.ScreenSaverPhotoChooser.5B50CA07-B35D-5045-9F15-A185809EFCF3.plist
>
> which is the one where are stored the settings I was looking for...
> (perhaps you havn't it because you never uses this sc saver ?)

Ah, I missed that one. Admittedly I wasn't looking very hard! : D

> Of course I tried to modify these settings and to save this file... but
> it didnt work because the system dont read it again and when the Sc
> Saver start it rewrites the file !...
>
> I presumed I have to restart some process for reread the prefs. But I
> didn't know which one.
>
> But now you give me the missing piece of the puzzle :
>
>> After making any change "under the hood" like this, you'd likely need to
>> restart the cfprefsd daemon with this command to make the changes take
>> effect:
>> 
>> # killall cfprefsd
>
> And it works. 
>
> Thanks again :-)

Welcome!

> Now I have to fix my script to do that. But isn't it some problem with
> restarting this daemon every hour ?

I don't think that should cause any issues; but if you do notice it
causing an issue, you can just refrain from restarting it so often. : )

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to alt.comp.lang.applescript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[Applescript/shell script] how could I change the images folder of the screen saver ? blanc@empty.org (JiPaul) - 2015-09-25 09:45 +0200
  Re: [Applescript/shell script] how could I change the images folder of the screen saver ? Jolly Roger <jollyroger@pobox.com> - 2015-09-25 15:30 +0000
    Re: [Applescript/shell script] how could I change the images folder of the screen saver ? blanc@empty.org (JiPaul) - 2015-09-25 19:49 +0200
      Re: [Applescript/shell script] how could I change the images folder of the screen saver ? Jolly Roger <jollyroger@pobox.com> - 2015-09-25 18:37 +0000
        Re: [Applescript/shell script] how could I change the images folder of the screen saver ? blanc@empty.org (JiPaul) - 2015-09-26 00:06 +0200
          Re: [Applescript/shell script] how could I change the images folder of the screen saver ? Jolly Roger <jollyroger@pobox.com> - 2015-09-25 22:47 +0000
            Re: [Applescript/shell script] how could I change the images folder of the screen saver ? blanc@empty.org (JiPaul) - 2015-10-07 09:56 +0200
              Re: [Applescript/shell script] how could I change the images folder of the screen saver ? Jolly Roger <jollyroger@pobox.com> - 2015-10-07 16:20 +0000
                Re: [Applescript/shell script] how could I change the images folder of the screen saver ? blanc@empty.org (JiPaul) - 2015-10-07 21:15 +0200

csiph-web