Hello,
I am trying to find a list of the bindable key names, for example the code below, trying to bind a macro to the key "HOME" fails, because it isn't called HOME. but if I were to bind it to PAGEUP/PAGEDOWN it is fine. Yet I can bind to the homekey in the blizzard bindings menu, so I just need the correct name for the key. Is there a complete list of keys anywhere?
Code:
local mybutton = CreateFrame("Button", "HOME", UIParent, "SecureActionButtonTemplate");
mybutton:SetAttribute("type","macro");
mybutton:SetAttribute("macrotext","/y Come get cookies!\n/cast Summon Soulwell");
SetOverrideBindingClick(mybutton, true, "HOME", "HOME");
Edit: I probably shouldn't be using setoverridebinding for my 'standard' binds... but oh well :P