Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: [Request] Wallpaper change script  (Read 7841 times)

0 Members and 1 Guest are viewing this topic.

Diatech

    Topic Starter


    Rookie

  • who, me?
    • Yes
  • Experience: Experienced
  • OS: Windows 7
[Request] Wallpaper change script
« on: October 27, 2011, 04:42:16 PM »
Hello,

I have an issue with dreamscene on win7 that blurs the text below all icons/shortcuts on the desktop. In order to fix it, I need to change the wallpaper to a solid black background, then reselect the original wallpaper - every time the computer is restarted.

I was hoping that it was possible to accomplish this via a vbs script or bat file, but I don't have the know-how to accomplish this. If someone would be kind enough to create this simple script, it would be greatly appreciated.

Basic flow of script required :

Code: [Select]
Start
Create var to store location of original wallpaper
change wallpaper to solid black color
set wallpaper to original using var
end

Again, I would greatly appreciate anyone who woulod be kind enough to help. Im sure this would be a very simple thing for someone with experience in DOS/VBS scripting

Thanks!
NNJZ

P.S. Im running Win 7 home prem x64

Geek-9pm


    Mastermind
  • Geek After Dark
  • Thanked: 1026
    • Gekk9pm bnlog
  • Certifications: List
  • Computer: Specs
  • Experience: Expert
  • OS: Windows 10
Re: [Request] Wallpaper change script
« Reply #1 on: October 28, 2011, 02:22:27 AM »
Did you already try a Google?
It seems that it should be easy, but its not. A registry key has to be changed. One reference says the change does not go into effect until the user logs in again.

Why not try ton solve the original problem?
Have you already searched the web site for dreamscene?
http://dreamscene.org/

Salmon Trout

  • Guest
Re: [Request] Wallpaper change script
« Reply #2 on: October 28, 2011, 09:58:53 AM »
Set wallpaper to a Windows bitmap file (can't use other file types)

(You don't have to use a file called Wallpaper.bmp in the C:\ folder, that is just an example to show the usage.)

Code: [Select]
reg add "hkcu\control panel\desktop" /v wallpaper /t REG_SZ /d "C:\Wallpaper.bmp" /f
Set wallpaper to none

Code: [Select]
reg add "hkcu\control panel\desktop" /v wallpaper /t REG_SZ /d "" /f
make change happen at once

Code: [Select]
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters


Salmon Trout

  • Guest
Re: [Request] Wallpaper change script
« Reply #3 on: October 28, 2011, 04:56:03 PM »
Set wallpaper to a Windows bitmap file (can't use other file types)

I meant you can only set wallpaper to .bmp by this command line method; you can use other image file types via the Windows display settings GUI.

Diatech

    Topic Starter


    Rookie

  • who, me?
    • Yes
  • Experience: Experienced
  • OS: Windows 7
Re: [Request] Wallpaper change script
« Reply #4 on: October 29, 2011, 09:57:26 AM »
I meant you can only set wallpaper to .bmp by this command line method; you can use other image file types via the Windows display settings GUI.

Hmm. Then I don't think it would help then, if I can't automatically change the wallpaper back. Being a video file, This wouldn't help much.

Thanks for the help :)