From Wowpedia: GetBindingByKey
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”.
I have “Blade of Justice” on 1.
bindingAction = GetBindingByKey(“1”)
print(bindingAction) prints nil
Same for “ACTIONBUTTON1”
I have left J mapped to guild panel. Copying the code from the example I have:
Code:
key = “J”
bindingAction = GetBindingByKey(key)
print(bindingAction)
Again it prints ‘nil’
Can anyone see what I am doing wrong?