Keybind addon wow

Keybind addon wow DEFAULT

Key bindings allow addons to perform actions when a user presses a specific combination of modifier keys and keyboard or mouse buttons. If the addon always offers the same set of bindings, the file can be used to declare these in advance, and FrameXML will include these in the built-in Key Bindings UI. Alternatively, addons may create bindings manually using the SetBinding and SetOverrideBinding families of API functions.

Setting key bindings is protected in combat -- addons can only change bindings in combat by using the binding-related functions present on frame handles in a restricted environment.

Using Bindings.xml to create static bindings

If you know the exact list of actions you want to let users configure keybindings for, you can use the file to specify static bindings. This method of creating bindings also allows you to rely on Blizzard's Key Bindings UI to allow users to customize your bindings, vastly reducing the amount of binding-handling code you'll need to write. Bindings.xml allows you to create bindings that perform one of these actions:

  • Run any Lua code you specify, insecurely.
  • Cast a spell
  • Use an item
  • Run a /macro-created macro
  • Perform a :Click() on an existing Button widget, securely.

Note that you may not combine these actions in a single binding -- so only the macro or click options will let you both use an item and cast a spell using one button press.

To use in your addon, you should create a file in your addon directory (relative to the World of Warcraft directory: ). The WoW client will automatically load this file, so you should not list it in your .toc file. The file should contain an outer <Bindings> tag, which in turn should contain a <Binding> tag for each action you wish to use. For example:

<Bindings> <Binding name="SPELL Moonfire" header="WOWPEDIAUIDEMO" /> <Binding name="SPELL Starfire" /> </Bindings>

would add bindings for casting Moonfire and Starfire to the default Key Bindings UI.

Specifying bindings

Each binding you want to create should be specified using the <Binding> tag, which has the following three attributes:

Required - Specifies a token for name of the action this keybinding performs; if the token is a valid binding command (like "SPELL Starfire"), the binding will always perform that command (and not run custom Lua code).
When this binding is displayed to the user, FrameXML will use the text specified in the global, falling back to the value of the name attribute if the global variable does not exist.
Optional - Specifies a token for a header under which this binding will be displayed. If omitted, the binding will be displayed under the last header specified previously during the loading process.
When the header is displayed to the user, FrameXML will use the text specified in the global, falling back to an empty string if the global variable does not exist.
Optional - If explicitly set to "true", the binding will be triggered both when the button combination is pressed and when it is released. Otherwise, the binding will only be triggered when the binding is pressed.
Optional - The default key binding for this action, e.g. "SHIFT-F".

If you want to run custom Lua code, it should be placed inside the <Binding> tag. From within this code snippet, you may access the binding state using the variable, which will be "down" when the binding is pressed, and "up" when the binding is released (the latter is only observable for runOnUp="true" bindings).

WarningWarning: Bindings.xml must be valid XML in order for your bindings to appear. If you need to include the < character in your custom Lua code within a <Binding> tag, you should to escape it as &lt;, or wrap the contents of the tag in ... .


Specify the bindings in :

<Bindings> <Binding name="SPELL Moonfire" runOnUp="true" header="WOWPEDIAUIDEMO" default="SHIFT-F"> print("Fooled! This print statement will never run.") </Binding> <Binding name="REVERSEFLOWPOLARITY">print("Neutron flow polarity reversed")</Binding> <Binding name="ACTIVATETRANSMOGRIFIER" runOnUp="true"> if keystate == "down" then print("Transmogrifier activated. Release binding to deactivate") else print("Transmogrifier deactivated") end </Binding> </Bindings>

Specify localized text in :

BINDING_HEADER_WOWPEDIAUIDEMO = "Custom Keybindings AddOn" _G["BINDING_NAME_SPELL Moonfire"] = "Cast Moonfire" BINDING_NAME_REVERSEFLOWPOLARITY = "Reverse neutron flow polarity" BINDING_NAME_ACTIVATETRANSMOGRIFIER = "Activate the ransmogrifier"

Create :

## Interface: 90100 ## Title: Keybindings Demo BindingsDemo.lua

To execute this example as an addon, create the directory and place the three specified files within it.

Creating dynamic keybindings in Lua

You may also set keybindings in Lua code, which allows you to create and modify key bindings dynamically -- for instance, in response to the player's class, level, location, or configuration of your addon. However, without Bindings.xml, your addon will be responsible for presenting its own bindings configuration UI to the user.


Setting and clearing bindings is a protected action, and cannot be performed by insecure addon code while in combat lockdown.

For more permanent bindings, similar in scope to those created by , you can use the SetBinding family of API functions. The functions take a binding string, and arguments specifying the action to be performed. Notably, if you use this method to bind a key already bound to some action in the default Key Bindings UI, that binding will be unbound. The functions are:

There is no API function to create a binding to execute custom Lua code. If that behavior is desired, you can use SetBindingClick in conjunction with an OnClick handler on your own Button widget:

local btn = CreateFrame("BUTTON", "MyBindingHandlingButton") SetBindingClick("SHIFT-T", btn:GetName()) btn:SetScript("OnClick", function(self, button, down) -- As we have not specified the button argument to SetBindingClick, -- the binding will be mapped to a LeftButton click. print("You triggered the binding using", button) end)

If you want to merely override, but not unbind, the bindings in the Key Bindings UI, you can use the SetOverrideBinding family of API functions. The functions take an owner frame handle, a flag indicating priority (priority override bindings take precedence over non-priority override bindings, which take precedence over normal bindings), a binding string, and argument specifying the action to be performed. All override bindings owned by a particular frame handle can be cleared using ClearOverrideBindings. The functions are:

Dynamic bindings in combat

The SetOverrideBindings family of functions is present in the restricted environment, as the frame:SetBinding() family of functions. Addons may take advantage of this to update override bindings in combat using SecureHandlers, but only in response to a very limited number of events, including:

  • Direct user interaction, like the player pressing a button or using a binding.
  • Indirect user interaction, like protected frames being hidden or shown, by wrapping OnHide/OnShow widget handlers.
  • Macro conditionals being updated -- i.e. the player targeting something, summoning a pet, etc.

For example, this can be used to create an addon binding that only exists while the player has a hostile unit targeted:

local frame = CreateFrame("Frame", nil, nil, "SecureHandlerStateTemplate") frame:SetAttribute("_onstate-wpbinding", [[ if newstate == "on" then self:SetBindingSpell(false, "SHIFT-T", "Moonfire") elseif newstate == "off" then self:ClearBindings() end ]]) RegisterStateDriver(frame, "wpbinding", "[@target,harm] on; off")

WoW Keybinding Addons: The best ones

If you’re an experienced WoW player, or even an intermediate one, then you know the importance of using a keybinds in this game, and why it’s crucial to use the best addons you can find in order to do so. Here are some of the absolute BEST keybinding and macro addons you can get for WoW, and some of the advantages of each one.

Impulse is a premium addon, but still quite affordable, and you definitely get more than you pay for with this particular addon. It covers virtually every single class and spec available in the game, which means there’s no need to get multiple addons if you play multiple classes and roles. The keybinds are very intuitive, which of course is really important, because after all… what’s the point of having keybinds if you don’t know where to find them? It’s also extremely easy to setup, and completely customizable as well. They promise users that in just a week, you can see about a 300% improvement in your performance, and we’ve seen no reason to doubt their bold claim. The downside is that it doesn’t cover PvP, otherwise it’s all there.

Binder is another great option for you to look into. Binder allows you to save your current keybinds to what’s called a “profile”, so that you can access the exact same profiles on literally any character on a given account. One thing which is fantastic about this program is its ability to edit keybinds. Binder makes it very easy by allowing you to do so simply by mousing over your actionbar slot, then just hitting the keybind you want to place there. You can set up a different profile for when you’re PvP’ing, when you’re leveling a new character, or when you’re going out raiding, so it’s very useful.

BindPad is a great choice also. With BindPad, you won’t any longer have to have actionbar slots just to make key bindings for your macros (or spells, items, etc). It gives you addon slots within its very own frame allowing you to put any macro (or any bind you want really) into these slots for easy use. So, if you’re running out of space on your actionslot bar, BindPad’s definitely is the way to go. The addon is fairly easy to use, and doesn’t take a long time to setup either. Overall, this is a very useful one.

Last but not least is KeyBound, which above all, is probably one of the easiest keybinding tools to use. This addon is included automatically in the well known bar management addon “Bartender”, and can allow you to very easily swap out macros, items, spells, etc, on the go. All you have to do is simply type /kb and you’re instantly in binding mode; where you can then simply mouse over any slot, and bind a key to it just by pressing the button you want to bind it to.

These are all great choices, but the best one depends on your own style as a player, how experienced you are, what you need in a binding program, etc. All the keybind addons definitely have something to offer, so feel free to try any of them on and see which one best fits your own personal preferences.

  1. Honey aesthetic tumblr
  2. Usa softball southern california tournaments
  3. Nfl fantasy playoff rankings 2021
  4. Rocket baguette

Extended Key Binding

addonswow logo
wow addon Extended Key Binding

Game Version: 1.13.7 +2

Total Downloads: 22,369

Updated: May 22, 2021

Created: Jun 14, 2019

Earlier Versions

NameSizeUploadedGame VersionDownloads
9.0.2-final release134.85 KBMay 22, 20211.13.7 +20download Extended Key Binding 9.0.2-final releaseDownload
9.0.1-final release127.17 KBOct 14, 20209.0.1 +3638download Extended Key Binding 9.0.1-final releaseDownload
8.3.0-final1 release126.48 KBFeb 18, 20208.3.0 +3593download Extended Key Binding 8.3.0-final1 releaseDownload
8.3.0-final release126.46 KBJan 27, 20208.3.0 +3104download Extended Key Binding 8.3.0-final releaseDownload
8.2.1-final1 release126.42 KBSep 17, 20198.2.0 +44,099download Extended Key Binding 8.2.1-final1 releaseDownload
8.2.1-final release126.39 KBSep 17, 20198.2.0 +43,707download Extended Key Binding 8.2.1-final releaseDownload
8.2.0-final release126.30 KBJul 9, 20198.2.0 +24,716download Extended Key Binding 8.2.0-final releaseDownload
8.1.0-final release126.29 KBJun 18, 20198.1.54,858download Extended Key Binding 8.1.0-final releaseDownload
8.1.0-beta0 beta125.85 KBJun 15, 20198.1.5 +13,654download Extended Key Binding 8.1.0-beta0 betaDownload


Extended Key Binding

Key Bindings for various in-game actions


Configurable key shortcuts for macros, CVar toggling and Lua-coded actions


  • Allows to set key shortcut to several configured actions:

    • Run existing macro using its name
    • Run sequence of macro commands written in command settings (no 255 characters limit)
    • Toggle a CVar between two configured values (On/Off behavior)
    • Run arbitrary Lua code and optionally show result as a part of run notification
  • Optionally shows notification about started action on screen and/or the chat frame

  • Supports up to 32 commands. Number can be increased using several settings profiles

Keybinds Guide - WoW

Keybinding and addon advice?

  1. I actually detest ElvUI, and only know of one guy who uses it and enjoys it. So I don’t have much information on this one.
  2. Nope.
  3. Ok, on this topic, I can be helpful. I apologize for the information dump.

First, ensure that you get a mouse, preferably something with gaming in mind. A Corsair Scimitar, or one of the Logitech ones can work. Razer also makes similar products, but after moving to Corsair, I wouldn’t ever go back.

Second. Keybinding is all about making sure your UI is comfortable. I’ve explained keybinding to my guys and girls before for some of the people who don’t venture into it much and the thing I repeat all the time is that the UI is home. When designing the UI (both involving keybinds and information conveyance), it’s important to know what you got, what you need, and be comfortable with performing your role.

I keybind with two concepts in mind. One being familiarity (which I’ll explain in a second), and the other with comfort. The reason the mouse is so important is because travel time is a real thing. If you have a key on keyboard-8 for example, the amount of travel time for your finger to actually hit that can impact your game play for the negative, whereas if you have a mouse, your time during GCD’s is actually much better spent because you’re moving quicker.

So, familiarity. The point behind familiarity is that you should keybind with the idea of other characters also in mind. Keyboard 4 is my kick on every character which has one. Mouse-7 is my stun on every character which has one. Mouse-6 is my AoE / Reticle based abilities on every character which has one.

To go further into it as an example: my warrior’s mouse-6 (also mapped as numpad 6) is heroic leap, and on my priest in discipline, it’s PW:Barrier. On my DK, it’s D&D. You get the idea. Keybinding with this mentality will help when learning alts and getting comfortable with their binds as well.

And on the topic of comfort, I design my keybinds from the comfortable “middle” zone and work my way out. My mouse has 12 buttons, but my thumb at rest lies on 5, and 8. So 5, and 8 are most used abilities. 4, 6, 2, 7, and 9 are abilities which are used often but not specific to a core rotation. Think stuns, CD’s that are short, etc. 1 is racial, 3 is a defensive, and 9 is a dispel (or secondary short CD). 10, 11, and 12 are all CD’s which are longer than the above mentioned. M4, and M5 are situational abilities such as purges, mass dispels, or big defensives like DBS.

So in short, my finger has to move the least amount for buttons I’mma hit all the time, and then it has to move increasingly the rarer the ability usage becomes. I also bind F1-F6, `, R, T, C, and V with the same mindset.

Edit: I get that’s a lot, but if you wanna have a chat about keybinding further, feel free to add my btag. Shad#1132. I’m happy to sit down and explain the process in voice, or through chat and assist you with UI design in any way you feel might be helpful. I enjoy tinkering.


Wow keybind addon

Specialization Specific Keybinds

An addon for World of Warcraft that enables per-specialization key binding support. After being set, the current key binding layout will automatically change whenever the active specialization is changed. This includes situations when the active specialization is automatically changed by the game (i.e when entering arenas).

The addon is under 150 lines of code and tries to keep things simple. This means 1 key bind profile for each class specialization and no fancy extra options. The addon uses the standard key bindings menu to trigger it's actions.

Have a look at Action Bar Profiles, if you need multiple profiles per specialization and/or support for macro and talent profiles.

How to Use

  • Saving Keybinds: Using the in-game talent window, activate the specialization you want to set key bindings for. Set your binds using the key binding menu.
  • Loading Keybinds: Using the in-game talent window, activate the desired specialization.

A message similar to the one bellow will be printed whenever key bindings change

To manually load a key binding

Use the following chat command: /ssb load spec-num
spec-numis the specialization number to load. Usually a number between 1 and 3 (4 for druids). The numbering follows the order the specializations are listed in the in-game talent menu. This option has been added mostly for convenience and should rarely be needed.

Additional Info

Specs that haven't been key bound yet will use the current set of key bindings as a template.

Key bindings will be saved locally within the WTFfolder of your game installation. Only the active key bindings are stored on the game server. The location of your saved key binds is: WTF/Account/your-account/your-realm/your-character/SavedVariables/SpecSpecificKeybinds.lua

Compatibility & Limitations

All key bindings belonging to the standard blizzard interface and those showing up in the standard key binding menu (Esc -> Key Bindings) are supported.

Action Bar Mods (ElvUI, Dominos, Bartender, ..)

The default game only has 5 fully customizable bars. Most action bar mods re-use these 5 bars and add a few extra of their own. These mods will have to properly register their own bars with the game or SpecSpecificKeybinds won't know they exist. This is why the safe way to set key bindings is by using the default blizzard key binding menu (Esc -> Key Bindings). Avoid using 'Quick Binding' mode. If you do, double check that those bindings also appeared in the key bindings menu.

For Dominos all 10 bars are supported. As of ElvUI v12.17 only use bars 1,2,3,4,5. Put bindings that stay the same across specs on the remaining bars. If an action bar mod gets updated and things change, you can always use the default blizzard key binding menu to find out which key binding corresponds to which bar/button.


Q: What about the 'Character Specific Key Bindings' toggle in the Key Bindings menu?
A: The addon will save the current active key bindings as character bindings. This means that this toggle will be implicitly set.

Q: Why are (some) of my action bar key bindings not properly getting tracked?
A: See the limitations. For mods like ElvUI use the default blizzard key binding menu (Esc -> Key Bindings) to set your bindings. Avoid using 'Quick Binding Mode' if you don't know what you are doing.

Q: Can you add support for AddonName?
A: SpecSpecificKeybinds use the default game functionality to set and retrieve key bindings. Addons that also make use of this mechanism will be supported by default. I don't plan to add special workarounds since it will cause dependencies and make the addon more complex. Keeping the addon short and concise will increase the chance of the addon staying compatible with future versions of WoW.


To give feedback or report a bug, please use the issues pageon github.


Current sources, as well as pre-releases can be found on github
The ONLY Keybinding Guide You NEED For TBC! - World of Warcraft


Now discussing:


919 920 921 922 923