Binds a key combination to "click" a Button object. When the binding is used, all of the relevant mouse handlers on the button (save for
OnLeave) fire just as if the button were activated by the mouse (including
OnMouseUp as the key is pressed and released).
See also Keybind functions.
key- A key or key combination (e.g. "CTRL-2") (
buttonName- Name of a Button object on which the binding simulates a click (
mouseButton- Name of the mouse button with which the binding simulates a click (
success- 1 if the key binding was successful; otherwise nil (