Normally to open a .ahk
file you will need to have installed AutoHotkey and then it will appear in the taskbar.
However recently I found a .exe
file that was actually an auto hotkey script and it added the script to the taskbar when I opened it. I'm assuming that this did not need AutoHotkey installed.
How would I go about making a .exe
file (or some other method) in order to run my script on computers that do not have AutoHotkey installed?
Best Answer
AutoHotKey includes a script compiler with it's installer.
There are a few ways to use the script compiler:
convert .ahk to .exe
Start Menu item under the AutoHotKey folder..ahk
file and selectCompile Script
. This method is only available if you selected the compiler during installation.Example:
Source: http://ahkscript.org/docs/Scripts.htm#ahk2exe