Project

General

Profile

Sendkeys » History » Revision 7

Revision 6 (Per Amundsen, 12/25/2018 01:18 AM) → Revision 7/9 (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":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 - Send plain text instead of keys. 
 -w - Wait for the keys to be processed. (does (Does not work with -p) 

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

 *Example* 

 <pre> 
 ; 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} 
 </pre>