Scripts can be compiled to executable binary (.exe) files and distributed without exposing the original source code.
To compile via commad line use the following arguments:
ironahk /out example.exe script.ahk
While the resulting binary resembles nothing like the original source code, disassembly and reverse engineering can still be used to reveal any potentially sensitive strings or algorithms. This can be mitigated with obfuscation and encryption.
Binaries rely on
IronAHK.Scripting.dll to be installed to the GAC, on the systems
PATH or present in the same working directory. ILMerge or mkbundle can be used to avoid dependence, a future version will have similar functionality built-in.