evilertoaster Posted March 14, 2005 Share Posted March 14, 2005 have you tried using the EnvUpdate ( ) autoit function? From the description it sound like it could work.... Link to comment Share on other sites More sharing options...
sshrum Posted March 15, 2005 Author Share 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' Link to comment Share on other sites More sharing options...
therks Posted March 15, 2005 Share Posted March 15, 2005 Didn't work for me. Of course neither did any of the other methods. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
sshrum Posted March 18, 2005 Author Share 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' Link to comment Share on other sites More sharing options...
SlimShady Posted March 18, 2005 Share Posted March 18, 2005 Is it not possible to specify a non-BMP image as the wallpaper? Link to comment Share on other sites More sharing options...
DeeRiee Posted December 6, 2008 Share Posted December 6, 2008 Didn't work for me. Of course neither did any of the other methods.Yea, me too... Link to comment Share on other sites More sharing options...
Hawkwing Posted March 29, 2009 Share 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. Link to comment Share on other sites More sharing options...
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