Originally Posted by myrroddin
function Bindings_OnLoad(self)
SetBindingMacro("k", "Assist Leader")
end
|
Hey. I could be wrong here, but it's my understanding that once you've set a binding in this way, you immediately need to save the binding before it can be used.
Saving the binding transfers the data from ram to disk (WTF\Account\ACCOUNTNAME\bindings-cache.wtf). I've always looked at it as being the equivalent of pressing confirm in the binding UI frame.
The function you'd be after is:
... where 'index' is either integer 1 or 2 (account wide or character wide respectively).
Aanson.