-
Notifications
You must be signed in to change notification settings - Fork 18
Function: moddedKey()
cajhin edited this page Mar 19, 2024
·
5 revisions
keyLabel
: any key
modstring
: a modifier string
- with & and . (no | ^ T )
- with real modifiers 1-8 (no MOD9..MOD15)
- without [ ] brackets
This is quite powerful; it sends one key that is modified with real modifiers.
Any keys that are down already will be released first, then restored after the moddedKey was sent
Detail: this sends
- "key up" for all keys that are down
- "key down" for all modifiers in the modstring
- "key down" for the keyLabel
- "key up" for the keyLabel
- "key up" for all modifiers
- "key down" for all keys that were released in step 1 (in no guaranteed order)
Shift+F4 sends Ctrl-Alt-Delete but first releases the shift key
COMBO F4 [...&] > moddedKey( DEL + &.&. )
To send a plain key without any modifiers:
COMBO F4 [...&] > moddedKey( DEL + . )