Load next wallpaper vbs script

From roonics
Revision as of 16:31, 5 January 2020 by Jlambert (talk | contribs) (Created page with "This script when run changes to the next desktop wallpaper. Tested on Windows 7 and Windows 10. Save the below as <filename>.vbs and when run if you have your pc set to cycl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This script when run changes to the next desktop wallpaper.

Tested on Windows 7 and Windows 10.

Save the below as <filename>.vbs and when run if you have your pc set to cycle through wallpapers in a folder it will move to the next one.

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