Project

General

Profile

Sendkeys » History » Revision 5

Revision 4 (Per Amundsen, 12/23/2018 10:50 AM) → Revision 5/9 (Per Amundsen, 12/24/2018 05:30 PM)

_Added in 3.3_ 

 */sendkeys [-p] [-u] <keys|text>* 

 Send keys or plain unicode text to the active window. 

 _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._ 

 *Switches* 

 -p -u - Send plain "unicode":https://en.wikipedia.org/wiki/Unicode text instead of keys. 

 <keys|text> - Key combination or plain unicode text to send. 

 *Example* 

 <pre> 
 ; Send CTRL + t keys to the active window. 
 /sendkeys ^t 

 ; Send unicode emoji to the active window. 
 //sendkeys -p -u $chr(55357) $+ $chr(56832) 

 ; Toggle caps lock. 
 /sendkeys {CAPSLOCK} 
 </pre>