Icons included in AutoHotkey.exe

Get help with using AutoHotkey and its commands and hotkeys
newbieforever
Posts: 213
Joined: 24 Aug 2016, 03:34

Icons included in AutoHotkey.exe

21 Jul 2018, 11:47

Hi!

The icon resource of AutoHotkey.exe include three green H icons (48x48, 32x32, 16x16, all 32 bit) and four light-blue H icons (as for green H and additionally 32x32 4 bit).

What is the exact purpose of each of these icons, for what and when are they used?
lexikos
Posts: 6040
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: Icons included in AutoHotkey.exe

21 Jul 2018, 17:56

There is one green H icon (RT_GROUP_ICON) which includes three bitmaps (RT_ICON). This icon is shown by Explorer when you look at AutoHotkey.exe or a shortcut to AutoHotkey.exe, or in the Start menu if you have AutoHotkey there, and it is also used by the program's main window, GUI windows and the tray icon. (The window icons are typically shown in the title bar of the window, in the taskbar and in Alt-Tab.)

There is one maroon H icon on a light blue background. This is the icon used by .ahk files if you've installed AutoHotkey.

As with most other icons on Windows, multiple bitmaps are provided for optimal quality in different situations. If the appropriate size or colour depth is unavailable, Windows will pick one (not always the most appropriate one) and convert it on the fly, with sometimes poor results.
newbieforever
Posts: 213
Joined: 24 Aug 2016, 03:34

Re: Icons included in AutoHotkey.exe

Today, 08:14

A short additional question related to the correct terminology:

AutoHotkey.exe contains 'icons' designated as 159, 160, 206, 207, 208 (at least if viewed in ResourceHacker). 'Icons' contained in other executables may be designated by words and/or numbers; ResourceHacker.exe contains two 'icons' designated as MAINICON and 128.

What is the correct name of these numbers/words? Icon 'number' obviously would be a wrong name. It is even obviously incorrect to say that 159 or MAINICON is an 'icon', because 'images' ('bitmaps') contained may be of totally different kind. Is 159 or MAINICON an icon 'group'?

Return to “Ask For Help”

Who is online

Users browsing this forum: lukeman3000 and 48 guests