WoW:API SetBinding
Jump to navigation
Jump to search
Binds a key to an action.
SetBindings();
- Arguments
- ("key", "command")
- key
- String - key name of the key to bind (eg, BUTTON2 = right mouse click)
- command
- String - action/command to perform when the key "key" is pressed
- Example
SetBinding("BUTTON2","TURNORACTION");
- Returns
- nothing
(tho I guess it might return true when the binding method has run successfully)
- Description
- Will bind a key to an action.
--Sn3b 10:25, 28 Feb 2005 (EST)