Search notes:

AutoHotKey.cpp

AutoHotKey.cpp contains the application's entry point tWinMain (compare crt0.c).
See also CreateFromArgV(…) in script_object.cpp.
The filename of the script that was passed to autohot key seems to be passed to Script::Init(…) in script.cpp.

Index