Skip to content
phorgen edited this page Sep 8, 2023 · 2 revisions

key ( keyLabel )

Sends out a sequence of key-down, key-up.

keyLabel can be any valid real or virtual key.

Modifiers are not touched. If you trigger this with
COMBO A [&.] > key (B) (Ctrl+A sends 'B')
then Ctrl is down when B is sent, resulting in Ctrl-B.

If you don't want this, either

  • use moddedKey() instead or
  • trigger the combo with a virtual modifier instead of a real one (e.g. MOD9 instead of Ctrl)

The keycode correlating to the keyLabel is sent and may therefore be modified by Windows on international keyboards configurations.