sendKey

>>-sendKey--(--keyName--+------------------------+--)----------><
                        +-,--+-----+--+--------+-+
                             +-alt-+  +-,--ext-+

Sends all messages (CHAR, KEYDOWN, and KEYUP) that would be sent by pressing a specific key on the keyboard. Character keys (a to z) are not case-sensitive.

If the alt argument is 1, the Alt key flag is set, which is equal to pressing the specified key together with the Alt key.

The Ext argument must be 1 if the key is an extended key, such as a right Ctrl or a right Shift.

For a list of key names, refer to Symbolic Names for Virtual Keys.