Armored Autohotkey executable builder
0.9.5b
INTRO USAGE OPTIONS INTERFACE RESOURCES VERSIONINFO EXECUTION OUTRO

HotkeyCamo can modify the resources of the interpreter at build time  without the need for 3rd party tools.

To enable resource interaction you will need to add the [HKC_RES] section header to the tail of your current config block.
Each line has  the standard ini format of ' key = value ', however the value itself is delimited ' ` '  into four  separate elements.

    [HKC_RES]
    sDescription = nType ` nIndex ` nLang ` sFileName

    []

sDescription Something short and simple to display in the log. This field can be empty if you wish. *New*
nType Value indicating the resource type to be added/removed, which can be either a user defined value or one of the following predefined ones::
  • 1  = CURSOR
  • 2  = BITMAP
  • 3  = ICON
  • 4  = MENU
  • 5  = DIALOG
  • 6  = STRING
  • 7  = FONTDIR
  • 8  = FONT
  • 9  = ACCELERATOR
  • 10 = RCDATA
  • 11 = MESSAGETABLE
  • 12 = GROUPCURSOR
  • 14 = GROUPICON
  • 16 = VERSIONINFO
  • 17 = DIALOGINCLUDE
  • 19 = PLUGPLAY
  • 20 = VXD
  • 21 = ANIMATEDCURSOR
  • 22 = ANIMATEDICON
  • 23 = HTML
  • 24 = MANIFEST

Black = Not supported but considered for support in the future.
Greensupported.
Red   = will never be directly supported. (but values can be used)

ICONS - You can specify 3 or 14 for an icon entry, HkC will automatically change it to groupicon. *New*
VERSIONINFO - Will be added automatically by HkC if your build setup contains a hkc_ver config section.

However if the user has already saved the versioninfo binary to a file with either HkC gui or with ResourceHacker's 'Save resource as binary' menu option, they can add thier own versioninfo resource entry and specify the path to this file.


When HkC finds an existing versioninfo entrance in the config block it will use the existing one instead of generating one from the hkc_ver cfg.
*New*
BITMAPRCDATAHTMLMANIFEST - These types can be added as thier raw file components and require no special handling.
nIndex Numeric Index  value which you use to reference your resource in your script. If left blank 0 is assumed.
nLang A valid numeric sub language value or 0 = Neutral.

If left blank 0 is assumed.

It is worth mentioning that if you don't intend writing multi-language programs the Lang value could also be used as a secondary type of indexing method.
sFileName Resource file path to be added.

When this field is blank the objective mode is switched from add to delete for removing individual resource items.
*New*

* There is an internal limit of 1 megabyte per resource file to be added to the binary, if any one file exceeds this HkC will abort the build.

Example - Config
    [HKC_RES]
     = 16 ` 1 ` 1033 ` @SD>MyVersionInfo.dat
    MyImage = 2 ` 1 ` 0 ` @SD>Promo.bmp
    Open ICO = 3 ` 230 ` ` %userprofile%\My Documents\Icons\Open.ico
    Close ICO = 14 ` 231 ` ` %userprofile%\My Documents\Icons\Close.ico
    Del - Menu = 4 ` 211 ` 1033 `
    Del - Dialog = 5 ` 205 ` 1033 `
    Del - Manifest = 24 ` 1 ` 1033 `