Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:World of Warcraft API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Binding === :{{id|API|GetBinding}}(index) - Get action and key bindings for that index. :{{id|API|GetBindingAction}}("KEY" [,checkOverride]) - Get the action bound to that key. :{{id|API|GetBindingKey}}("command") - Get the key(s) bound to that action. :UI {{id|API|GetBindingText}}("key", "prefix", returnAbbr) - Gets the string value for the key. :{{id|API|GetCurrentBindingSet}}() - Queries if current set of key bindings is character or account specific :{{id|API|GetNumBindings}}() - Get total number key bindings and headers. :{{id|API|LoadBindings}}(which) - Loads default, account or character specific key binding set into memory from disk. :{{id|API|RunBinding}}("command"[, "up"]) - Executes the key binding named "command" :{{id|API|SaveBindings}}(which) - Saves account or character specific key bindings from memory to disk. :NOCOMBAT {{id|API|SetBinding}}("key"[, "command"[, mode]]) - Sets or unsets key bindings. (2.0 - Can not be used in combat.) :NOCOMBAT {{id|API|SetBindingSpell}}("KEY", "Spell Name") - Set a key binding directly to a spell, uses the same spell name syntax as /cast. :NOCOMBAT {{id|API|SetBindingClick}}("KEY", "ButtonName" [,"mouseButton"]) - Set a key binding directly to a Button object. The click sends a mouse down when the key is pressed, and a mouse up when it is released. :NOCOMBAT {{id|API|SetBindingItem}}("KEY", "itemname") :NOCOMBAT {{id|API|SetBindingMacro}}("KEY", "macroname"|macroid) :{{id|API|SetConsoleKey}}("key") - Sets the console key (normally ~ ). :NOCOMBAT {{id|API|SetOverrideBinding}}(owner, isPriority, "KEY" [,"COMMAND"]) - Set (or clear) an override key binding. :NOCOMBAT {{id|API|SetOverrideBindingSpell}}(owner, isPriority, "KEY", "spellname") :NOCOMBAT {{id|API|SetOverrideBindingClick}}(owner, isPriority, "key", "buttonName" [, "mouseClick"]) - Sets an override binding that acts like a mouse click on a button. :NOCOMBAT {{id|API|SetOverrideBindingItem}}(owner, isPriority, "KEY", "itemname") :NOCOMBAT {{id|API|SetOverrideBindingMacro}}(owner, isPriority, "KEY", "macroname"|macroid) :NOCOMBAT {{id|API|ClearOverrideBindings}}(owner) - Reset all overrides belonging to an owner. :{{id|API|SetMouselookOverrideBinding}}("KEY" [,"COMMAND"]) :{{id|API|IsModifierKeyDown}}() - equivalent to (IsShiftKeyDown() or IsControlKeyDown() or IsAltKeyDown()). :{{id|API|IsModifiedClick}}("action") - Returns 1 if the keys for the specified action are down, nil otherwise. :{{id|API|IsMouseButtonDown}}([button or "button"])
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)