Well...no. I could have the user wait until their next login but I'm more of the instant-gratification sorta guy. This way the user doesn't freak when their desktop changes when I'm not there... This is what I came up with: FileCopy("support\desktop\memcare.bmp", @WindowsDir)
;RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "Wallpaper", "REG_SZ", @WindowsDir & "\memcare.bmp")
;RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "WallpaperStyle", "REG_SZ", "0")
;RegWrite("HKEY_CURRENT_USER\Control Panel\Colors", "Background", "REG_SZ", "102 154 202")
Run("control.exe desk.cpl")
WinWaitActive("Display Properties")
Send("{TAB}{TAB}{TAB}{TAB}{RIGHT}!b")
WinWaitActive("Browse")
Send(@WindowsDir & "\memcare.bmp{ENTER}")
ControlClick("Display Properties", "", "Combobox1")
WinWaitActive("Display Properties")
Send("{UP}{UP}{UP}")
ControlClick("Display Properties", "", "Button2")
Send("!o!r102{TAB}154{TAB}202{ENTER}{ENTER}")