billthecreator Posted April 20, 2008 Share Posted April 20, 2008 How would i go about changing my background to different pictures, almost like a slide show. what would be the code for something like this? [font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap Link to comment Share on other sites More sharing options...
Swift Posted April 20, 2008 Share Posted April 20, 2008 Wow. This question has been answered today, and can be answered by searching. Link to comment Share on other sites More sharing options...
JustinReno Posted April 20, 2008 Share Posted April 20, 2008 I found one registry key that changes the background without having to change 3/4 registry keys. Let me find it... Link to comment Share on other sites More sharing options...
James Posted April 21, 2008 Share Posted April 21, 2008 Hi Bill Func _ChangeWallpaper($bmpfile, $iposition = "3") Switch $iPosition Case 1; Tile RegWrite('HKCU\Control Panel\Desktop', 'TileWallpaper', 'reg_sz', '1') RegWrite('HKCU\Control Panel\Desktop', 'WallpaperStyle', 'reg_sz', '0') Case 2; Center RegWrite('HKCU\Control Panel\Desktop', 'TileWallpaper', 'reg_sz', '0') RegWrite('HKCU\Control Panel\Desktop', 'WallpaperStyle', 'reg_sz', '0') Case 3; Stretch RegWrite('HKCU\Control Panel\Desktop', 'TileWallpaper', 'reg_sz', '0') RegWrite('HKCU\Control Panel\Desktop', 'WallpaperStyle', 'reg_sz', '2') EndSwitch RegWrite('HKCU\Control Panel\Desktop', 'Wallpaper', 'reg_sz', $bmpfile) DllCall("user32", "int", "SystemParametersInfo", "int", 20, "int", 0, "str", $bmpfile, "int", 0) EndFunc .... Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ 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