Copied AutoHotkeyU64.exe icon changes

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Copied AutoHotkeyU64.exe icon changes

04 Aug 2023, 04:57

Version 1.1.37.01.

My issue is minor, but an odd one.

I'm running scripts by first copying the autohotkeyU64.exe file, and then renaming the copy to match my script.
When I rename the copied AutoHotkeyU64.exe file, the icon changes from the default green H to a generic disc and box. Oddly, in some directories it displays correctly.

Is there anyway to retain the default icon. I can package the two files with Windows iexpress, so if there was a way of adding an ico file
into the package, that would output the correct icon, I would be happy to do that.

Thanks in advance.
Master_X
Posts: 33
Joined: 04 Aug 2023, 13:59

Re: Copied AutoHotkeyU64.exe icon changes

04 Aug 2023, 14:20

My guess it's the same odd behavior I expirienced. If you rename the .exe file into a random name the icon shows correct, doesn't it?

Just try to run "ie4uinit -show" I think this fixed it for me last time.
sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Re: Copied AutoHotkeyU64.exe icon changes

04 Aug 2023, 14:59

Master_X wrote:
04 Aug 2023, 14:20
My guess it's the same odd behavior I expirienced. If you rename the .exe file into a random name the icon shows correct, doesn't it?
Yes, how odd. Will try running "ie4uinit -show".

Thanks
sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Re: Copied AutoHotkeyU64.exe icon changes

07 Aug 2023, 04:56

So after some investigation I discovered that, as Master_X suggested, naming seems to be an issue. In my case I just had to change the name of the folder I stored my scripts and duplicate .exe's in.
If I named the folder AutoHotkey Scripts the contained renamed exe's would display icons with the disc and box. Changing it to AutoHotkey, or just Scripts, and all exe's display the Green H icon....Weird!!
Master_X
Posts: 33
Joined: 04 Aug 2023, 13:59

Re: Copied AutoHotkeyU64.exe icon changes

07 Aug 2023, 09:39

If I wasn't clear enough. Press Win+R and paste ie4uinit -show

This should fix this, at least it does for me with Windows 10.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Rxbie and 238 guests