Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

With all of the new keyboard shortcuts added to Windows 7, I was wondering if a shortcut had been added to change the Desktop Background when the theme was setup to work as a slide show.

I want to execute the Next desktop background command which a user is prompted for when right clicking a desktop that has been setup for a slide show.

share|improve this question

5 Answers 5

up vote 14 down vote accepted

Not that I know, but it can be fixed with an AutoHotkey script. For instance, this will use Win+n to go to the next desktop background:

#n::                             ; use the Windows+n hotkey
WinActivate, ahk_class Progman   ; activate the Desktop
MouseGetPos, xpos, ypos          ; get current mouse position
Click 0,0                        ; click in the corner of the desktop, to unselect any selected icon
Send +{F10}                      ; send Shift+F10, the shortcut for right-click
Send n                           ; send "n", the key for "next desktop background"
Click %xpos%, %ypos%, 0          ; put the mouse back at its previous position
return                           ; done!

The "n" in Send n is only valid for an English Windows 7 (Next desktop background). You'll have to change it if your Windows 7 is not in English to match the underlined key.

share|improve this answer
    
+1 for AutoHotKey -- an excellent way to go. –  Andrew Flanagan Nov 17 '09 at 22:09
    
Too bad Microsoft didn't add a shortcut out of the box but I am happy you turned me onto AuthoHotKey. –  ahsteele Nov 18 '09 at 5:38
    
Unrelated to this thread what's the markdown you used for hte Win + n to make it look like keys? –  ahsteele Nov 18 '09 at 5:40
    
<kbd> </kbd> :-) –  Snark Nov 18 '09 at 6:12
    
I was not a believer at first. Each day now I'm more convinced that there is always a way with autohotkey. –  Malabarba Nov 21 '09 at 14:05

I found a much easier way to change your desktop background:

  1. Go to your desktop (Windows Key+D)
  2. Press "menu"key on keyboard (opening the same menu as mouse right button menu) + "n" key...

Result is the same - 2 buttons, desktop changed.

share|improve this answer
    
good suggestion, but there is no Menu key in many modern keyboards (especially laptops). –  Giacomo Lacava Apr 28 '12 at 22:01

WinActivate, ahk_class Progman

doesn't seem to work if Microsoft Visual Studio is running maximized, a real shame. Other than that it works fine.


Edit: the following works fine, but flashes the desktop. Pros and cons to all I guess.

#n::                             ; Use the Windows+n hotkey
Send #d                          ; Switch to the Desktop
MouseGetPos, xpos, ypos          ; Get current mouse position
Click 0,0                        ; Click in the corner of the desktop, to unselect any selected icon
Send +{F10}                      ; Send Shift+F10, the shortcut for right-click
Send n                           ; Send "n", the key for "next desktop background"
Click %xpos%, %ypos%, 0          ; Put the mouse back at its previous position
Send #d                          ; Switch away from the Desktop again
return                           ; Done!
share|improve this answer

I think this only works if you have your desktop icons showing. If you don't, Shift-F10 doesn't bring up the right click menu.

Edit: Well, I didn't install AutoHotKey, but someone at www.technixupdate.com/keyboard-shortcut-or-hotkey-to-switch-to-next-windows-7-desktop-wallpaper/ compiled it and it works with or without desktop icons showing. I just thought it wouldn't work as when I have my icons hid, the "Application" key and Shift-F10 both do not work. So, don't listen to me, it will probably work...

share|improve this answer

I found the second version of the script ran best. Because the window key+d command toggles between the window and the desktop if you are already in the desktop it may switch away from the desktop first instead of switching to it. The following works better for this reason :-)

#n::                             ; use the Windows+n hotkey
Send #m                          ; minimize all open windows
MouseGetPos, xpos, ypos          ; get current mouse position
Click 0,0                        ; click in the corner of the desktop, to unselect any selected icon
Send +{F10}                      ; send Shift+F10, the shortcut for right-click
Send n                           ; send "n", the key for "next desktop background"
Click %xpos%, %ypos%, 0          ; put the mouse back at its previous position
Send #+m                         ; undo minimize
return                           ; done!
share|improve this answer

protected by studiohack Mar 19 '11 at 21:32

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.