With the Warlords of Draenor beta being addon free, I've been looking around for a way to bind a macro to a keybind.
Hunting around I discovered a script that allows just that (which sadly doesn't fix the issue as scripts are also currently banned on beta). However, as I'm hoping to free myself of as many addons as possible when warlords hits the streets sometime in 2015 (?) it will be some use later on.
The command you need to run is:
/run SetBindingMacro("SHIFT-A", "MacroName")I use a macro on a hotbar for this and recommend you do too as I'm not too sure how it behaves if you simply type it in on two lines. Of course, when you do this, you need to change the exact wording to fit your needs:
- Replace SHIFT-A with whatever key you want to bind the macro to (e.g. A, ALT-A, CTRL-SHIFT-A);
- Replace MacroName with the name of your macro;
- Replace the 1 in the SaveBindings call to a 2 if you use character specific key bindings which I don't as all of my character use the same bindings;
You can also replace MacroName with the name of a spell or other ability, which can be useful especially for pet abilities. more »