- Define current line to be key event.
- KEYNAME identifies key through string/name.
- KEYCODE identifies key through integer code.
- Examples.
- "KEYCODE 2" will return "1"
- "KEYNAME 2" will return the "2"
- You can view all the keycodes and keynames by going to menu-strip and choose Help > Key Names
Parameters
- x: The string of key-name or keycode to be typed
- Allow the use of "+" for key combinations
- Allow the use of "," for sequential key presses
Usage
- KEYCODE x