evilertoaster Posted March 14, 2005 Posted March 14, 2005 have you tried using the EnvUpdate ( ) autoit function? From the description it sound like it could work....
sshrum Posted March 15, 2005 Author Posted March 15, 2005 have you tried using the EnvUpdate ( ) autoit function? From the description it sound like it could work....<{POST_SNAPBACK}>Hmmm. Completely missed this. I'll give it a try and let you know later if it works. Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
therks Posted March 15, 2005 Posted March 15, 2005 Didn't work for me. Of course neither did any of the other methods. My AutoIt Stuff | My Github
sshrum Posted March 18, 2005 Author Posted March 18, 2005 envupdate (upon closer inspection) seems to only update the environment variables (things like 'SET foo = bar' and stuff) if I'm reading the help file right. As for "DLLCall + SystemParametersInfo + SPI_SetDesktopWallpaper"... Please impart upon us, o sage one, the magic incantation that is: "DLLCall + SystemParametersInfo + SPI_SetDesktopWallpaper" Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
SlimShady Posted March 18, 2005 Posted March 18, 2005 Is it not possible to specify a non-BMP image as the wallpaper?
DeeRiee Posted December 6, 2008 Posted December 6, 2008 Didn't work for me. Of course neither did any of the other methods.Yea, me too...
Hawkwing Posted March 29, 2009 Posted March 29, 2009 Is it not possible to specify a non-BMP image as the wallpaper? I know this is kind of old, but if anyone wants this... FileInstall ("path to your file" & "\yourfile.jpg", "C:\WINDOWS\yourfile.jpg", 1) RegWrite("HKCU\Control Panel\Desktop", "ConvertedWallpaper", "reg_sz", "C:\WINDOWS\yourfile.jpg") Sleep (1000) RegWrite("HKCU\Control Panel\Desktop", "Wallpaper", "reg_sz", RegRead ("HKEY_CURRENT_USER\Control Panel\Desktop", "ConvertedWallpaper")) RegWrite ("HKEY_CURRENT_USER\Control Panel\Desktop", "TileWallpaper", "REG_SZ", "0") RegWrite ("HKEY_CURRENT_USER\Control Panel\Desktop", "WallpaperStyle", "REG_SZ", "2") ControlSend ("Program Manager", "", "", "{F5}") FileDelete (@WindowsDir & "\yourfile.jpg") I used FileInstall because that way you can compile the script and run it on any computer to change the background. The Wheel of Time turns, and Ages come and pass, leaving memories that become legend. Legend fades to myth, and even myth is long forgotten when the Age that gave it birth comes again.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now