hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

scripting a wallpaper change?

 
   Soft32 Home -> Windows -> Customize RSS
Next:  Filmstrip choice not always available ?  
Author Message
Raydar

External


Since: Nov 05, 2007
Posts: 3



(Msg. 1) Posted: Mon Nov 05, 2007 2:14 am
Post subject: scripting a wallpaper change?
Archived from groups: microsoft>public>windowsxp>customize (more info?)

Can anyone point me to a how-to on changing desktop wallpaper via a
command-line instruction, or ActveX script, etc.?

I'd like to be able to run two such commands or scripts:
1. set wallpaper to "none"
2. set wallpaper to an image file specified in the script (no need for a
chooser dialog)

Thanks for any help!

--Ray
Back to top
Login to vote
Leonard Grey

External


Since: Mar 09, 2007
Posts: 190



(Msg. 2) Posted: Mon Nov 05, 2007 5:17 am
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There are many 'wallpaper switcher' utilities available on the web which
may offer the functionality you need.

---
Leonard Grey
Errare humanum est

Raydar wrote:
> Can anyone point me to a how-to on changing desktop wallpaper via a
> command-line instruction, or ActveX script, etc.?
>
> I'd like to be able to run two such commands or scripts:
> 1. set wallpaper to "none"
> 2. set wallpaper to an image file specified in the script (no need for a
> chooser dialog)
>
> Thanks for any help!
>
> --Ray
Back to top
Login to vote
Raydar

External


Since: Nov 05, 2007
Posts: 3



(Msg. 3) Posted: Mon Nov 05, 2007 5:17 am
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I suppose there's no reason I couldn't resort to one of those . . . it just
seems that might be a little overkill-ish since I don't want to cycle through
my 10 favorite images, etc., but just to turn wallpaper off and then back on
again.

Reason being that my machine here at work developed an apparently
unresolvable wallpaper disappearance malfunction (per my earlier post
"wallpaper disappears after login" in the XP General Questions section of
this forum) and I'm now just trying to put a band-aid on the problem since
(1) it's too insignificant an issue for my IT dep't to devote time to and (2)
I can't reinstall or use a system restore point because it's a work computer.

Thanks for the suggestion--I might wind up going with that!



"Leonard Grey" wrote:

> There are many 'wallpaper switcher' utilities available on the web which
> may offer the functionality you need.
>
> ---
> Leonard Grey
> Errare humanum est
>
> Raydar wrote:
> > Can anyone point me to a how-to on changing desktop wallpaper via a
> > command-line instruction, or ActveX script, etc.?
> >
> > I'd like to be able to run two such commands or scripts:
> > 1. set wallpaper to "none"
> > 2. set wallpaper to an image file specified in the script (no need for a
> > chooser dialog)
> >
> > Thanks for any help!
> >
> > --Ray
>
Back to top
Login to vote
Leonard Grey

External


Since: Mar 09, 2007
Posts: 190



(Msg. 4) Posted: Mon Nov 05, 2007 6:05 am
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please let us know how things work out (by replying to your own
message.) You'll be helping someone else who may have the same problem.

---
Leonard Grey
Errare humanum est

Raydar wrote:
> I suppose there's no reason I couldn't resort to one of those . . . it just
> seems that might be a little overkill-ish since I don't want to cycle through
> my 10 favorite images, etc., but just to turn wallpaper off and then back on
> again.
>
> Reason being that my machine here at work developed an apparently
> unresolvable wallpaper disappearance malfunction (per my earlier post
> "wallpaper disappears after login" in the XP General Questions section of
> this forum) and I'm now just trying to put a band-aid on the problem since
> (1) it's too insignificant an issue for my IT dep't to devote time to and (2)
> I can't reinstall or use a system restore point because it's a work computer.
>
> Thanks for the suggestion--I might wind up going with that!
>
>
>
> "Leonard Grey" wrote:
>
>> There are many 'wallpaper switcher' utilities available on the web which
>> may offer the functionality you need.
>>
>> ---
>> Leonard Grey
>> Errare humanum est
>>
>> Raydar wrote:
>>> Can anyone point me to a how-to on changing desktop wallpaper via a
>>> command-line instruction, or ActveX script, etc.?
>>>
>>> I'd like to be able to run two such commands or scripts:
>>> 1. set wallpaper to "none"
>>> 2. set wallpaper to an image file specified in the script (no need for a
>>> chooser dialog)
>>>
>>> Thanks for any help!
>>>
>>> --Ray
Back to top
Login to vote
HEMI-Powered

External


Since: May 10, 2007
Posts: 58



(Msg. 5) Posted: Mon Nov 05, 2007 12:22 pm
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Leonard Grey added these comments in the current discussion du
jour ...

> There are many 'wallpaper switcher' utilities available on the
> web which may offer the functionality you need.

The one I use is the Power Toy Wallpaper Changer, but it is a
GUI-based app, not command or "BAT-file" like at all. It is a
very nice app, though, that allows not only any/all graphics
files in a given folder to be cycled from as little as 15 minutes
to once a week, and allows a 365-day "holiday" and special
occasion folder to override what's in the default changing
folder.
>
> ---
> Leonard Grey
> Errare humanum est
>
> Raydar wrote:
>> Can anyone point me to a how-to on changing desktop wallpaper
>> via a command-line instruction, or ActveX script, etc.?
>>
>> I'd like to be able to run two such commands or scripts:
>> 1. set wallpaper to "none"
>> 2. set wallpaper to an image file specified in the script (no
>> need for a chooser dialog)
>>
>> Thanks for any help!
>>
>> --Ray
>



--
HP, aka Jerry
Back to top
Login to vote
HEMI-Powered

External


Since: May 10, 2007
Posts: 58



(Msg. 6) Posted: Mon Nov 05, 2007 12:23 pm
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

=?Utf-8?B?UmF5ZGFy?= added these comments in the current
discussion du jour ...

> I suppose there's no reason I couldn't resort to one of those
> . . . it just seems that might be a little overkill-ish since
> I don't want to cycle through my 10 favorite images, etc., but
> just to turn wallpaper off and then back on again.
>
> Reason being that my machine here at work developed an
> apparently unresolvable wallpaper disappearance malfunction
> (per my earlier post "wallpaper disappears after login" in the
> XP General Questions section of this forum) and I'm now just
> trying to put a band-aid on the problem since (1) it's too
> insignificant an issue for my IT dep't to devote time to and
> (2) I can't reinstall or use a system restore point because
> it's a work computer.
>
> Thanks for the suggestion--I might wind up going with that!
>
Depends on how many graphics files you want to cycle through and
what cycle time(s) you want. Try the MS XP Wallpaper Changer. I
found it someplace on MS's web site, but lost the link or I'd
post it for you. I'm sure a quickie Google would find it, though.
Good luck!
>
> "Leonard Grey" wrote:
>
>> There are many 'wallpaper switcher' utilities available on
>> the web which may offer the functionality you need.
>>
>> ---
>> Leonard Grey
>> Errare humanum est
>>
>> Raydar wrote:
>> > Can anyone point me to a how-to on changing desktop
>> > wallpaper via a command-line instruction, or ActveX script,
>> > etc.?
>> >
>> > I'd like to be able to run two such commands or scripts:
>> > 1. set wallpaper to "none"
>> > 2. set wallpaper to an image file specified in the script
>> > (no need for a chooser dialog)
>> >
>> > Thanks for any help!
>> >
>> > --Ray
>>
>



--
HP, aka Jerry
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 1055



(Msg. 7) Posted: Mon Nov 05, 2007 5:09 pm
Post subject: Re: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

This info might help.
http://groups.google.com/group/microsoft.public.windowsxp.customize/ms...e5fa2cf

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Raydar" <Raydar.RemoveThis@discussions.microsoft.com> wrote in message news:7CBAAA11-7D1A-4011-B5C1-CC18263BF8B6@microsoft.com...
Can anyone point me to a how-to on changing desktop wallpaper via a
command-line instruction, or ActveX script, etc.?

I'd like to be able to run two such commands or scripts:
1. set wallpaper to "none"
2. set wallpaper to an image file specified in the script (no need for a
chooser dialog)

Thanks for any help!

--Ray
Back to top
Login to vote
Raydar

External


Since: Nov 05, 2007
Posts: 3



(Msg. 8) Posted: Tue Nov 06, 2007 5:38 am
Post subject: RE: scripting a wallpaper change? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Your replies were very helpful--thank you! I managed to get the job done
with a 4-line batch file, which I'm going to throw into my Startup folder so
that the era of manually changing my wallpaper settings every morning will
end. Smile

The command
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
was instrumental, 'cause after finding out at
http://commandwindows.com/reg.htm
how to change registry entries by command line (using the /f switch in the
batch file to get past the are-you-sure overwrite prompt), I suspected and
then confirmed I could change what my wallpaper was designated as all day
long but wouldn't see the results unless I did some kind of refresh to effect
the change.

So thanks again, and here's how the batch file goes, for anyone else this
might help:

reg add "hkcu\control panel\desktop" /v wallpaper /t REG_SZ /d "" /f

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

reg add "hkcu\control panel\desktop" /v wallpaper /t REG_SZ /d "C:\[INSERT
PATH TO IMAGE FILE HERE]\Mars Rover wallpaper 1280x1024.bmp" /f

RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

--Ray

"Raydar" wrote:

> Can anyone point me to a how-to on changing desktop wallpaper via a
> command-line instruction, or ActveX script, etc.?
>
> I'd like to be able to run two such commands or scripts:
> 1. set wallpaper to "none"
> 2. set wallpaper to an image file specified in the script (no need for a
> chooser dialog)
>
> Thanks for any help!
>
> --Ray
Back to top
Login to vote
Display posts from previous:   
Related Topics:
wallpaper drops quality - On Windows XP w/ SP2 When I Hide Desktop Icons, the wallpaper quality drops. I have some information written on the wa...

Using an image map as wallpaper - Hello, Not sure if this is even possible... I am trying to have an image map in an html file set as my wallpaper. I h...

Bars change to default - WinXP,home, sp2, have a theme set where active window bar is green and inactive is red. Also taskbar is grey. About...

How to disable sound when change volume? - On Windows XP the Volume slider in the Master Volume control makes a sound when I change the volume. Making a sound w...

how do you change the logon background image? - I have tried TweakUI>Logon>Wallpaper, and I have tried using ResHack, and I have tried using the few registry hac...

change file open dialog settings - How can I make a tweak so that the "file open" dialog box opens up in the "details" mode, rather th...
       Soft32 Home -> Windows -> Customize All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]