topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 11:13 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: Double-Click Desktop Reset  (Read 5526 times)

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
DONE: Double-Click Desktop Reset
« on: December 01, 2012, 03:09 PM »
This is another of those snacks to save steps.

I sometimes like to put a picture on my desktop background. Then when I am satisfied, I want it to go away. However, the main method I know of to make it go away is:

RightClick/Properties/DesktopTab/ScrollUp/None/Apply/OK

Whew! Way too much work to blister through a bunch of pics as desktops!

Anyone wanna go after this one?

Cheers,

Tao

Extra Credit: P.S. my use case is Win XP, but last I recall from Win Vista and 7 and who knows about 8, they deleted that function entirely, so it might be useful for people on those OS's to have this widget work for them as well.

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #1 on: December 01, 2012, 04:34 PM »
Here's a two-line AHK script that should do it:

Code: Autohotkey [Select]
  1. RegWrite, REG_SZ, HKEY_CURRENT_USER, Control Panel\Desktop, Wallpaper, % ""
  2. DllCall( "SystemParametersInfo", UInt, 0x14, UInt, 0, Str, sFile, UInt, 1 )

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #2 on: December 01, 2012, 04:45 PM »
Here's a two-line AHK script that should do it:

Code: Autohotkey [Select]
  1. RegWrite, REG_SZ, HKEY_CURRENT_USER, Control Panel\Desktop, Wallpaper, % ""
  2. DllCall( "SystemParametersInfo", UInt, 0x14, UInt, 0, Str, sFile, UInt, 1 )

How do you make that into an exe?

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #3 on: December 01, 2012, 05:36 PM »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #4 on: December 02, 2012, 02:21 AM »
Why not just right-click on a picture and set it as the background? 2 clicks. You could use a "blank" image or anything to "make it go away".
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #5 on: December 02, 2012, 07:02 AM »
Why not just right-click on a picture and set it as the background? 2 clicks. You could use a "blank" image or anything to "make it go away".

Hiya Ren!

1. Right clicking on Jpegs (as an example) doesn't give me an option to set it as a background.
2. I don't know what a blank image is. My standard background is just system black.
3. Sometimes I have gotten fancy and used videos as backgrounds, so I'm interested when I get time if this kind of idea works on clearing those.

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #6 on: December 02, 2012, 08:09 AM »
Here you go: http://skwire.dcmemb...s/WallpaperReset.zip

I think that works. Skwire Wins!