Why do you want it rewritten in AHK? AutoHotkey can run the code using CLR library.
Statistics: Posted by ntepa — 52 minutes ago
Statistics: Posted by ntepa — 52 minutes ago