→ WoW API
Returns the binding action performed when the specified key combination is triggered.
bindingAction = GetBindingByKey("key")
- String - binding key to query, e.g. "G", "ALT-G", "ALT-CTRL-SHIFT-F1".
- String - binding action that will be performed, e.g. "TOGGLEAUTORUN", "CLICK Purrseus:k1", or nil if no action will be performed.
- This function takes into account override bindings by default.
- This function can discard modifiers from the
keyargument until a binding matches; thus, querying for "ALT-CTRL-SHIFT-G" can return the action performed due to the simple "G" binding.