Download (Preview 2a) - this zip file contains Ahk2Exe.exe which you can drop right into your Compiler folder.
- Ability to change the version information (such as the name, description, version...).
- Ability to add resources to the compiled script.
- Ability to tweak several misc aspects of compilation.
- Ability to remove code sections from the compiled script and viceversa.
Have a look at the WIP compiler directives documentation.
NEW: Bitmap and HTML resource demo (requires at least Preview 1a)
The script below is a very crude example that I used for testing but which should nevertheless show the new capabilities of Ahk2Exe:
Code: Select all
MsgBox Hello ;@Ahk2Exe-SetName Awesome ;@Ahk2Exe-SetDescription Some awesome script ;@Ahk2Exe-SetVersion 1.7.52-beta ;@Ahk2Exe-SetCopyright Copyright (c) 2013`, fincs ;@Ahk2Exe-SetOrigFilename Awesome.ahk ;@Ahk2Exe-AddResource someBmp.bmp ;@Ahk2Exe-AddResource test.html ;@Ahk2Exe-UseResourceLang 0x340A ;@Ahk2Exe-AddResource test_sp.html, test.html ;@Ahk2Exe-IgnoreBegin MsgBox This will appear in the uncompiled script! ;@Ahk2Exe-IgnoreEnd /*@Ahk2Exe-Keep MsgBox This will appear in the compiled script! */ MsgBox Bye