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.
![:(](http://aut1.autoit-cdn.com/forum/public/style_emoticons/autoit/sad.gif)
[ 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)