wowpedia
Main Menu


Creates an override binding that runs a macro.

SetOverrideBindingMacro(owner, isPriority, key, macro)

Arguments

owner
Frame - The frame this binding "belongs" to; this can later be used to clear all override bindings belonging to a particular frame.
isPriority
boolean - true if this is a priority binding, false otherwise. Both types of override bindings take precedence over normal bindings.
key
string - Binding to bind the command to. For example, "Q", "ALT-Q", "ALT-CTRL-SHIFT-Q", "BUTTON5"
macro
string - Name or index of the macro to run.

Details

See also