Project

General

Profile

Actions

Sendkeys » History » Revision 6

« Previous | Revision 6/7 (diff) | Next »
Per Amundsen, 12/25/2018 01:18 AM


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}

Updated by Per Amundsen 9 months ago · 6 revisions

Also available in: PDF HTML TXT