So lets say i have the macros below
Code: Select all
PressA:
Send {a}{Enter}
return
PressB:
Send {b}{Enter}
return
With the hotkey,
Code: Select all
ButtonPressed := "F1"
Code: Select all
Hotkey, %ButtonPressed%, PressA
Hotkey, %ButtonPressed%, PressB