Sendkeys » History » Version 2
Per Amundsen, 12/23/2018 10:49 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 | _Check "here":https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys.send?view=netframework-4.7.2 for syntax._ |
||
8 | |||
9 | *Switches* |
||
10 | |||
11 | -u - Send "unicode":https://en.wikipedia.org/wiki/Unicode text to the active window. |
||
12 | |||
13 | <keys|text> - Key combination or unicode text to send to the active window. |
||
14 | |||
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> |