Returns the action bound to a key or key combination
See also Keybind functions.
Signature:
action
=
GetBindingAction("key"
[,
checkOverride])
Arguments:
key
- A key or key combination (e.g. "CTRL-2") (string
, binding)checkOverride
- True to check possible override bindings for thekey
, false or omitted to check only normal bindings (boolean
)
Returns:
action
- Name of the action associated with the key, or the empty string (""
) if the key is not bound to an action (string
)