You have installed AHK and created a few simple scripts now. You have also run the scripts and seen them work. You would now have understood to run the AHK scripts you must have the AHK software installed. Correct. But what about those laptops where AHK is not installed? and you still want to run the scripts. Don’t worry, AHK has a compiler which will compile your scripts into a Standalone EXE Program which can be run on any laptop or computer without installing AHK.
What is a compiler, you ask?
In simple non-techie words, it “changes” your script/code so that it can be run on any computer.
Okay, now lets convert a script to an EXE program.
- Browse to your AHK script directory.
- Right-click on the script which you want to make into an EXE program.
- Wait for a few seconds, and you should have your EXE file in the same folder with the same name.
- Now you can share this EXE program between different computers and users.
There are different levels of compilations like adding a password, or making your code private so nobody can view it. But that’s another post in the future.