Code: Select all
; Update system wallpaper
SysParamInfoResult := DllCall("SystemParametersInfo", UInt, 0x14, UInt, 0, Str, wallpath, UInt, 1)
To reiterate, the script succeeds in changing the wallpaper, except that the change doesn't persist if I switch away and then back to the said virtual desktop. Any ideas how I might be able to make the change persist?
AHK Version 1.1 // Windows 11 // Nvidia drivers and Windows up-to-date