- ;居中 TileWallpaper = 0 WallpaperStyle = 0 (默認)
- ;填充 TileWallpaper = 1 WallpaperStyle = 0
- ;拉伸 TileWallpaper = 1 WallpaperStyle = 2
- RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop","TileWallpaper","REG_SZ", 0)
- RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop","WallpaperStyle","REG_SZ", 2)
- $Bmp = @ScriptDir&"\meinv1-175.jpg"
- DllCall("user32.dll","int","SystemParametersInfo", "int",20,"int",1,"str",$Bmp,"int",1 )
- ;DllCall("SystemParametersInfo", UInt, 0x14, UInt, 0, Str, A_WinDir . "\winnt.bmp", UInt, 2)
- ;設(shè)置桌面背景墻紙,SystemParametersInfo(20, True, 圖片路徑, 1)
版權(quán)聲明:文章圖片資源來源于網(wǎng)絡(luò),如有侵權(quán),請留言刪除!!!
評論