I found this: https://superuser.com/questions/71860/i ... background
but it was doing some mouse clicking I didn't like, so I edited it a bit, it turned into this, works pretty well so far.
Code: Select all
hotkey, #n, sh_send_nextbackground
return
sh_send_nextbackground:
; https://superuser.com/questions/71860/is-there-a-windows-7-keyboard-shortcut-to-change-the-desktop-background
WinActivate, ahk_class Progman ; activate the Desktop
Send #D ; hide all windows
Click ; make sure the desktop has focus
Send +{F10} ; send Shift+F10, the shortcut for right-click
Send n ; send "n", the key for "next desktop background"
Send #D ; show all windows that were showing before
return ; done!