A lot of the time when I’m working on an AutoHotkey Script I can find great examples on the AutoHotkey Forum or Stack Overflow however sometimes I’m unable to find a similar example. The below video demonstrates how you can use the Macro Recorder in Excel to help write your AutoHotkey syntax. One very critical point you’ll need to remember is to “look up” the constant value by right clicking on it in the VBA mode and listing the “quick info”.
Simplify writing AutoHotkey code using the Macro recorder & Excel constants
Use Excel macro recorder to get constants from Excel for AutoHotkey