Sendkeys » History » Version 4
Per Amundsen, 12/23/2018 10:50 AM
1 | 1 | Per Amundsen | _Added in 3.3_ |
---|---|---|---|
2 | |||
3 | */sendkeys [-u] <keys|text>* |
||
4 | |||
5 | Send keys or unicode text to the active window. |
||
6 | |||
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 | 4 | Per Amundsen | -u - Send "unicode":https://en.wikipedia.org/wiki/Unicode text instead of keys. |
12 | 1 | Per Amundsen | |
13 | 4 | Per Amundsen | <keys|text> - Key combination or unicode 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 | ; Send unicode emoji to the active window. |
||
22 | 2 | Per Amundsen | //sendkeys -u $chr(55357) $+ $chr(56832) |
23 | 1 | Per Amundsen | </pre> |