Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 04, 2016, 04:17:54 AM
  • Proudly celebrating 10 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 2400 times)

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,550
    • View Profile
    • Donate to Member
DONE: Double-Click Desktop Reset
« on: December 01, 2012, 03:09:21 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: 4,664
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #1 on: December 01, 2012, 04:34:22 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,550
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #2 on: December 01, 2012, 04:45:35 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: 4,664
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #3 on: December 01, 2012, 05:36:54 PM »

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,220
  • 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:28 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,550
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #5 on: December 02, 2012, 07:02:36 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,550
    • View Profile
    • Donate to Member
Re: DONE: Double-Click Desktop Reset
« Reply #6 on: December 02, 2012, 08:09:40 AM »