AHK Icon showing for compiled script with user defined icon

Post AHK_H specific scripts & libraries and discuss the usage and development of HotKeyIt's fork/branch
julesverne
Posts: 42
Joined: 18 Apr 2017, 14:39
Contact:

AHK Icon showing for compiled script with user defined icon

Post by julesverne » 16 Nov 2020, 18:29

I just wanted to alert all about a very odd bug with ahk_H vers 1 ahk2exe that was solved by @TheArkive

Bug: AutoHotKey icon showing for compiled script that should be user defined icon.

When compiling your script and choosing the option to include a user defined icon, you will see the icon in the taskbar when running the output exe but the file in Explorer will show the AHK icon. It seems that @TheArkive figured out that if you simply move the exe to a different location you will see the icon.

Weird bug, but his solution worked for me. Thanks @TheArkive

Even weirder is that when you move the exe back to where it was compiled, the icon goes back to being the autohotkey icon.


Post Reply

Return to “AutoHotkey_H”