Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Wowpedia
Advertisement

Returns the binding action performed when the specified key combination is triggered.

bindingAction = GetBindingByKey(key)

Arguments[]

key
string - binding key to query, e.g. "G", "ALT-G", "ALT-CTRL-SHIFT-F1".

Returns[]

bindingAction
string - binding action that will be performed, e.g. "TOGGLEAUTORUN", "CLICK Purrseus:k1", or nil if no action will be performed.

Details[]

  • This function takes into account override bindings by default.
  • This discards modifiers from the key argument until a binding matches; thus, querying for ALT-CTRL-SHIFT-G can return the action performed due to the simple "G" binding.

See also[]

Advertisement