I've read I have to add these lines into my .au3
file:
#Region
#AutoIt3Wrapper_Icon=C:\myicon.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Run_Obfuscator=y
#EndRegion
I've put myicon.ico
into the C:\
directory.
Then I right click on my .au3
file and click Compile
, everything is fine, but the default icon is still the AutoIT icon.
This is one of the things that has bothered me about the compile process for quite a while. It doesn't work if you right click your file and 'Compile'.
You have to go via the Start menu > AutoIt v3 > Compile Script to .exe. Once you select your script, you will see your settings loaded into the GUI.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With