Runs the script associated with a key binding action. Note: this function is not protected, but the scripts for many default key binding actions are (and can only be called by the Blizzard UI).
See also Keybind functions.
Signature:
RunBinding("COMMAND")
Arguments:
COMMAND
- Name of a key binding command (string
)
Examples:
-- Take a screenshot RunBinding("SCREENSHOT")