Switch To A New Desktop Background Using A Hotkey In Windows 7 & 8

The themes in Windows 7 and Windows 8 usually contains a number of images in each theme. Other elements remain the same, but the image changes to a new one after a specified amount of time. This time interval can be changed by opening Personalization settings and selecting the Desktop Background option. The time interval can be set from 10 seconds to one day depending on the user’s preference. If you are fond of using a large collection of wallpapers, you can set a lower time interval. However, having a large collection means that sometimes, an image may appear on your background that might not be according to your mood at the time and you might want to change it. By default, the desktop context menu of Windows 7 and Windows 8 contains an option called Switch To next Desktop Background, which – as the name suggests – allows you to switch to the next desktop background available in the image list. In this post, we will show you how to switch to the next desktop background using a keyboard shortcut rather than accessing the right click context menu of Windows desktop.

First of all, you will need to create a VBS (Visual Basic Scripting) file. To create the file, open a blank Notepad document and carefully paste the following code in it. Make sure that nothing is missed from the code or the process will not work properly for you.

set WshShell = WScript.CreateObject("WScript.Shell")
	WshShell.SendKeys("^ ")
	WshShell.SendKeys("+{F10}")
	WshShell.SendKeys("n")

After the code is pasted, save the file with any name of your choice (we saved it with the name NextDesktopBG), however, make sure that you  save it with the VBS extension. For instance, in our case, the complete save name for the file was NextDesktopBG.vbs. Now, to change the desktop background of you computer to the next available wallpaper in the image list, double click the newly created file.

Note: By default, Windows has extensions set to hidden for known file types, and that prevents users from changing their extension directly. To show extensions for all file types, just follow our quick guide.

_2012-05-16_15-46-45

Right-click the file and select Create Shortcut from the context menu to place a shortcut of the file on your desktop.

_2012-05-16_15-49-14

Now, right-click the shortcut and open its Properties. Under the Shortcut tab, select a custom shortcut key in front of the Short key field. Click OK to apply the new hotkey.

NextDesktopBG.vbs - Shortcut Properties

Now you can easily switch to the next desktop background using a hotkey!

[via Intowindows]

قالب وردپرس

About Lily Herman

Lily Herman
Lily Herman is a New York-based writer and editor. In recent months, her work has been featured in Teen Vogue, Glamour, Refinery29, Cosmopolitan, TIME, Newsweek, Fast Company, and Mashable. You can check out her website, LinkedIn, and Twitter.

Leave a Reply

Your email address will not be published. Required fields are marked *