info("modifiers")
info("modifiers")

The info(“modifiers”) function returns the status of the modifier keys.

Description

This function returns the status of the modifier keys. The result is a text value that may contain zero or more of the following words:

    "shift"
    "capslock"
    "option"
    "command"
    "control"
    "function"

The function also returns the status of the last mouse click. If the last mouse click was a double click, the returned value will include `"doubleclick"`. If the last mouse click was a triple click, value will include `"tripleclick"`.

If the left button was clicked, the value will include `"leftButton"`. If the right button was clicked, the value will include `"rightButton"` and `"control"`. If the third button was clicked the value will include `"button3"`, and so on for additional buttons if your mouse has them.

See Also

- info("mouse") -- returns the current location of the mouse in screen relative coordinates.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, but now includes the status of the function key, and of multiple mouse buttons.