Sending Keyboard Keys

Several plugins support sending a specific keyboard keys through its MScript functions. This allows your model to interact with AUT using keyboard keys. Typically you will send CTRL, SHIFT, ALT, TAB, ENTER, F1, F2, ….

Depending on the plugin implementation, you may specify one or many function keys in an MScript call. Some MScript function may support modifier keys which are just subset of keyboard keys and thus you will use the same key codes.

Keyboard keys must be enclosed with a pair of square brackets as shown below:

[KEYS.keyCode]

where keycode is the name assigned to the key.

Keyboard Key Codes