This is not working for me. I have same H icon after compile. The icon file is in same folder with .AHK when compiled. What am I missing?
This is working for the tray icon.
Menu, Tray, Icon, DCS_114.ico
;@Ahk2Exe-SetMainIcon DCS_114.ico Topic is solved
Re: ;@Ahk2Exe-SetMainIcon DCS_114.ico Topic is solved
In fact, the icon has probably changed. You can check with a utility such as Resource Hacker. Windows Explorer caches the icons and doesn’t refresh them unless forced to, by for example, a restart of the computer, or (Windows 10+) entering ie4uinit.exe -show at an administrator command prompt. (For earlier versions of Windows the command is ie4uinit.exe -ClearIconCache.)
Cheers
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
Re: ;@Ahk2Exe-SetMainIcon DCS_114.ico
Whoa! Cool thanks.