AU3设置桌面背景墙纸
;居中 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)
;设置桌面背景墙纸,SystemParametersInfo(20, True, 图片路径, 1)
感谢{author}楼主 支持,顶一下。 奥利给 {author} 感谢楼主分享 膜拜大神3秒钟 谢谢分享。。
页:
[1]