WoW:API GetBindingAction
Returns the name of the action performed by a specific key passed as argument.
GetBindingAction();
- Arguments
- String - name of the key (eg. BUTTON1, 1, A)
- Example
strMouseActionButton1 = GetBindingAction("BUTTON1"); message(strMouseActionButton1);
This will display a message with the name of the action triggered when the left mouse button is pressed. In this case GetBindingAction() returns CAMERAORSELECTORMOVE.
- Returns
- String - name of the action
- Description
- Returns the name of the action performed by a specific key passed as argument.
--Sn3b 16:20, 01 Mar 2005 (EST)