Added in 3.3
/sendkeys [-pw] <keys|text>
Send keys or plain text to the active window.
Check here to see the syntax for sending keys.
Switches
-p - Send plain text instead of keys.
-w - Wait for the keys to be processed. (Does not work with -p)
<keys|text> - Key combination or plain text to send.
Example
; Send CTRL + t keys to the active window.
/sendkeys ^t
; Send emoji to the active window.
//sendkeys -p $chr(55357) $+ $chr(56832)
; Toggle caps lock.
/sendkeys {CAPSLOCK}