Project

General

Profile

Sendkeys » History » Version 5

Per Amundsen, 12/24/2018 05:30 PM

1 1 Per Amundsen
_Added in 3.3_
2
3 5 Per Amundsen
*/sendkeys [-p] <keys|text>*
4 1 Per Amundsen
5 5 Per Amundsen
Send keys or plain text to the active window.
6 1 Per Amundsen
7 3 Per Amundsen
_Check "here":https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send?view=netframework-4.7.2 to see the syntax for sending keys._
8 1 Per Amundsen
9
*Switches*
10
11 5 Per Amundsen
-p - Send plain text instead of keys.
12 1 Per Amundsen
13 5 Per Amundsen
<keys|text> - Key combination or plain text to send.
14 1 Per Amundsen
15
*Example*
16
17
<pre>
18
; Send CTRL + t keys to the active window.
19
/sendkeys ^t
20
21 5 Per Amundsen
; Send emoji to the active window.
22
//sendkeys -p $chr(55357) $+ $chr(56832)
23
24
; Toggle caps lock.
25
/sendkeys {CAPSLOCK}
26 1 Per Amundsen
</pre>