Logo

⌨️ Keyboard Commands

Text Input Commands

Description: Prints the provided text as keyboard input.

Syntax:

write '<text>'

Example:

write 'Hello, World!'

Key Press Commands

Description: Presses and releases a specific keyboard key. Optionally, you can specify whether to hold or release the key.

Supported Keys:

  • Modifiers: ctrl, shift, alt, gui
  • Arrow Keys: up, down, left, right
  • Function Keys: F1 to F24
  • Special Keys: enter, esc, backspace, space, tab, delete, insert, home, end, pageup, pagedown, capslock
  • Numpad Keys: num0, num1, num2, num3, num4, num5, num6, num7, num8, num9, numslash, numasterisk, numminus, numplus, numenter, numperiod
  • Media Keys: volup, voldown, mute, playpause, nexttrack, prevtrack, stop, www_home, local_machine_browser, calculator, www_bookmarks, www_search, www_stop, www_back, consumer_control_configuration, email_reader
  • Single Characters: Any single character (e.g., a, b, 1, etc.)

Syntax:

key '<key_name>' [<action>]

Example:

key 'esc'
key 'ctrl' hold
key 'ctrl' release

System Control Commands

Description: Changes the keyboard layout to a specified language.

Supported Layouts: German, SwissGerman, English_UK, French, Spanish, Portuguese, Portuguese_BR, Italian, Danish, Swedish, Turkish, Chinese, Japanese, Korean, Russian, Arabic, Hindi, Polish, Dutch, English (default)

Syntax:

keyboardLayout '<language>'

Example:

keyboardLayout 'German'

Device Control

Description: Sets a delay between keypresses.

Syntax:

setDelay '<milliseconds>'

Example:

setDelay '50'

On this page