WoW:API GetBindingAction

From AddOn Studio
Revision as of 15:22, 1 March 2005 by WoWWiki>Sn3b0ng
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
GetBindAction -Documentation by Sn3b-

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.

Template:WoW API


--Sn3b 16:20, 01 Mar 2005 (EST)