Re: How to change wallpaper using VBScript?
- From: "Stuffin" <AFOX2@xxxxxxxxxxx>
- Date: Tue, 04 Jul 2006 12:11:19 GMT
Save your wallpaper as a bitmap such as mybitmap.bmp, then
Dim WshShell
Set WshShell = WScript.CreateObject("Wscript.Shell")
WshShell.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", mybitmap.bmp
WshShell.Run "%windir%\System32\RUNDLL32.EXE user32.dll,
UpdatePerUserSystemParameters", 1, False
Set WshShell = Nothing
"mistral" <polychrom@xxxxxxxxxxxx> wrote in message
news:1152006618.786014.19400@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Can someone help with script to change the Windows desktop Wallpaper
picture via VBScript or WSH? With ability to download image from URL
(not from local drive), i will provide a URL to an image which should
be set for a wallpaper.
I know this can be changed via the registry; so a Regwrite script would
do the trick. Does it possible to apply changes immediatelly, or user
must logoff/on for the changes to appear?
thank you.
mistral
.
- Follow-Ups:
- Re: How to change wallpaper using VBScript?
- From: mistral
- Re: How to change wallpaper using VBScript?
- References:
- How to change wallpaper using VBScript?
- From: mistral
- How to change wallpaper using VBScript?
- Prev by Date: How to change wallpaper using VBScript?
- Next by Date: Re: How to change wallpaper using VBScript?
- Previous by thread: How to change wallpaper using VBScript?
- Next by thread: Re: How to change wallpaper using VBScript?
- Index(es):
Relevant Pages
|