默认exe文件图标更改
我读过我必须将这些行添加到我的 .au3
文件中:
#Region
#AutoIt3Wrapper_Icon=C:\myicon.ico
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Run_Obfuscator=y
#EndRegion
我已将 myicon.ico
放入 C:\
目录中。
然后我右键单击我的.au3
文件并单击Compile
,一切都很好,但默认图标仍然是AutoIT图标。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是编译过程中困扰我很长一段时间的事情之一。如果右键单击文件并“编译”,它将不起作用。
您必须通过“开始”菜单> > AutoIt v3 >将脚本编译为.exe。选择脚本后,您将看到您的设置已加载到 GUI 中。
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.
您可以创建一个批处理脚本来执行 AutoIt 的编译。
例如:
在此批处理脚本中,您可以执行更多操作,例如:
You can create a batch script to execute AutoIt's compilation.
For example:
In this batch script, you can do more things like: