info("keyboard")
info("keyboard")

The info(“keyboard”) function returns the last key that was pressed.

Description

This function returns the last key that was pressed. This example checks to see if the last key pressed was an upper case A.

    info("keyboard") = "A"

This example checks to see if the last key pressed was a tab.

    info("keyboard") = tab()

See Also

- definehotkeys -- defines one or more Hotkeys.
- Hotkey Workshop -- tool that assists in composing a definehotkeys statement.
- info("keycode") -- returns a special numeric code that represents the last key that was pressed.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.