Skip to content

Key

CommandClientNeeds client
key {key} [ctrl] [alt] [shift]
uo.dll
Key

Also searchable as: Key · keystroke · press key · keyboard

key presses and releases a key in the client.

Parameter Meaning
key The key: A–Z, 0–9, F1–F12, ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGUP, PGDN,
END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK and SCROLLLOCK.
ctrl, alt, shift Optional. Hold these down while the key is pressed.
  • Without ctrl, alt or shift the key goes straight to the client window, which does not need to be in front.
  • With any of them, the client is brought to the front and the keys are pressed on the real keyboard, so the client has to keep the focus while it happens. With several clients open, modifier keys can end up in the wrong one.
  • The script waits 250 ms after each key.
key F4 alt ; Alt+F4
key ENTER
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.