There are 2 major modes for editing the keyboard macro scripting language Autohotkey.
One is ahk-mode by Robert Widhopf-Fenk. This one is bundled with the AutoHotKey software.
Another one is xahk-mode by Xah Lee.