I want to change the icon of compiled script permanently. Most of the stuff is available about changing the tray icon, but i want to change the icon of .exe file as shown below-
I want to change the above icon permanently.
I tried to follow the steps as told in documentation here-
https://www.autohotkey.com/docs/Scripts.htm#ahk2exe
But, I am not understanding what exactly to do?
Please help and guide..
Thanks a lot...
How to change the icon of compiled script namedly .exe file (not tray icon)?
- Sabestian Caine
- Posts: 528
- Joined: 12 Apr 2015, 03:53
How to change the icon of compiled script namedly .exe file (not tray icon)?
I don't normally code as I don't code normally.
Re: How to change the icon of compiled script namedly .exe file (not tray icon)?
I use Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)] (https://www.autohotkey.com/boards/viewtopic.php?t=16061).
Hope this helps...
Hope this helps...
Re: How to change the icon of compiled script namedly .exe file (not tray icon)?
I use a program called Resource Hacker to change the icon of my AHK scripts. https www.howtogeek.com /75983/stupid-geek-tricks-how-to-modify-the-icon-of-an-.exe-file/ Broken Link for safety
Re: How to change the icon of compiled script namedly .exe file (not tray icon)?
You can use the new enhanced beta version of Ahk2Exe which allows Compiler Directives, including setting the .exe icon.
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
Re: How to change the icon of compiled script namedly .exe file (not tray icon)?
If you change the name of the .exe and the icon changes then you need to clean windows' icon cache. I did accordingly as here were explainded and it helped: https://superuser.com/questions/499078/refresh-icon-cache-without-rebooting
Re: How to change the icon of compiled script namedly .exe file (not tray icon)?
@mauritius You can also select 'File' => 'Refresh Windows Icons' in the Ahk2Exe gui.
Edit: Fixed menu path.
Cheers
Edit: Fixed menu path.
Cheers
My scripts:-
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe
XRef - Produces Cross Reference lists for scripts
ReClip - A Text Reformatting and Clip Management utility
ScriptGuard - Protects Compiled Scripts from Decompilation
I also maintain Ahk2Exe