更改壁纸

Name "更改壁纸"
OutFile "更改壁纸.exe"
Caption "更改壁纸"
SetCompressor /FINAL /SOLID lzma
!include UsefulLib.nsh
page instfiles
Var HWND
Section
${GetWallpaper} "$r0" ;获得当前壁纸路径
${GetWallpaperOptions} $r1 ;获得当前壁纸覆盖方式  0:居中;1:平铺;2:拉伸
${SetWallpaperOptions} 2 ;设置壁纸覆盖方式  0:居中;1:平铺;2:拉伸
${SetWallpaper} "M:Dog.jpg" ;设置壁纸
DetailPrint '$r0'
DetailPrint '$r1'
DetailPrint '$R2 $R3'
SectionEnd
© 版权声明
THE END
喜欢就支持一下吧
点赞12 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容