-
Notifications
You must be signed in to change notification settings - Fork 18
Function: combo()
cajhin edited this page Jan 1, 2021
·
3 revisions
keyLabel
: any real key (LSHF, F1, A, ...)
Using virtual keys makes no sense since they will not be sent out.
Sends a sequence of
- key1 down
- key2 down
- key2 up
- key1 up
Pressed keys are not touched.
This can be a problem when combo() is triggered by a real modifier; see Function: key() for explanation.
In comparison to Function: moddedKey():
combo() can deal with only one modifier, but it can also create combos with non-modifiers (e.g. I use F14+C to tell AHK to start the Calculator)
On MOD9+N, send Ctrl+Left
COMBO N [...& .... ....] > combo(LCtrl+Left)
On MOD11+C, send F14+C
COMBO C [.&.. .... ....] > combo(F14+C)