Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Wallpaper script install

$
0
0
I am pain in the a$$ i know it :( , but this script i'm not able to make it work, i want just a script compiled to exe, and when i executed to install a wallpaper.

[ autoit ]         
$Wallpaper = "...\blabla.jpg" ; for example $Stile = "Fit" ; yeah .. fit should say enough Select Case $Stile="Center" $Stile="0" $Stile2="0" Case $Stile="Fit" $Stile="1" $Stile2="0" Case $Stile="Stretch" $Stile="2" $Stile2="0" Case $Stile="Fill" $Stile="-1" $Stile2="0" Case $Stile="Tile" $Stile="0" $Stile2="1" EndSelect RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "WallpaperStyle", "REG_SZ", $Stile) RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "TileWallpaper", "REG_SZ", $Stile2) DllCall("user32.dll", "int", "SystemParametersInfo","uint",20,"uint",0,"str",$Wallpaper,"uint",3)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>