AhkResUpdate is a port of AutoIt3Wrapper for AHK scripts. What is that you ask? It allows you to add custom resource files, icons, and version information to your AHK script when it is compiled. See AhkResUpdate.txt for usage instructions.
Comments welcome!
AhkResUpdate v1.0.0.4 [363 KB]
(MD5: b63667aaf26ce0b49fc6a22de9630bc9)
This looks alright, but doesn't Compile_AHK do the same thing?
But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.
Bummer, yeah, pretty much :/ Would have been nice to find that yesterday...
I took a look at Compile AHK. It's really nice. One difference though is it relies on ResHacker and RC.exe to do the work, while mine does not.
Added two new directives, ProductVersion to override the PRODUCTVERSION value in the fixed info section of the version information, and custom version info string name|value pairs.
Good Stuff! This now sits in my AHK scripts directory along side all my portable apps
Added ;##AhkResUpdate_Language to set the language identifier to which new resources are added. If this value is anything other than the default 1033 (US English), and the Version Info or Manifest is to be updated, then all other Version Info and Manifests will be removed first.
Updated internal resource addition functions: it should now be faster and less prone to interference from antivirus programs - all resources are removed / added in one operation (BeginUpdateResource and EndUpdateResource are called only once each).