This command maps a character to a virtual key code and shift state. 1st Parameter is the char to translate. Integer represents TCHAR. 2nd Parameter is the virtual key code and shift state. If the function succeeds, the low-order byte of the return value contains the virtual-key code and the high-order byte contains the shift state, which can be a combination of the following flag bits: Bit 1 Meaning Either SHIFT key is pressed. 2 Either CTRL key is pressed. 4 Either ALT key is pressed. If the function finds no key that translates to the passed character code, both the low-order and high-order bytes contain -1.
!A [] $56A !1 !3