Groups | Search | Server Info | Login | Register
Groups > alt.comp.lang.applescript > #8
| Newsgroups | alt.comp.lang.applescript |
|---|---|
| Subject | Re: [Applescript/shell script] how could I change the images folder of the screen saver ? |
| From | blanc@empty.org (JiPaul) |
| Date | 2015-09-25 19:49 +0200 |
| Message-ID | <1mbbgem.1c5wgf1wg8lxjN%blanc@empty.org> (permalink) |
| References | <1mbaqiz.mlg4zx1jpm854N%blanc@empty.org> <d6l7k3Fm5j3U1@mid.individual.net> |
| Organization | Guest of ProXad - France |
Jolly Roger <jollyroger@pobox.com> wrote:
> Unfortunately, you can't do that with pure AppleScript since Apple does
> not provide AppleScript interfaces to change those properties.
I've presumed that !...
> Here is
> what Apple allows (found in the System Events dictionary):
[snip...]
> responds to
> start, stop.
... because I've found that
But I thought asking this question here, that I could have some answer
or some idea...
And you give me one !...
Thanks a lot Jolly Roger ! :-)
> I had a look at these screen saver preference files:
>
> ~/Library/Preferences/com.apple.screensaver.plist
> ~/Library/Preferences/ByHost/com.apple.screensaver.5387F4CD-305A-54DE-B565-463
> EEBFCF270.plist
I've found these files... But 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 ?)
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 :-)
Now I have to fix my script to do that. But isn't it some problem with
restarting this daemon every hour ?
--
JiPaul.
/ /--/--//\\ Jean-Paul Blanc
|/| L |\\\ quelquepart en (somewhere in)
\/|| = |||\\\ FRANCE
Back to alt.comp.lang.applescript | Previous | Next — Previous in thread | Next in thread | Find similar
[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