Post by dredd on Jun 28, 2007 2:52:31 GMT -5
Until LS has the Keybinding functionality you can use a little trick to get keybindings for things that you dont have in any interface bar.
This has nothing to do With LS itself or for that matter, other addons.
It is just a way of binding a key to a macro
The method is also somewhat limited since each keybinding require a macro made for the event to happen (spellcast, use item etc.)
The above procedure will refer the binding directly to the macro, thus removing the need to place it to action bar!!!
Ofc, you can have the macro dragged to an LS button or any actionbar button for regular keypressing.
Hope this is helpful.
I use it for my targetcheck / CC / trade macros. Since there are so many of them & i dont want to clutter my actionbars / LS with all those buttons.
HMmmm Stage 4 incoming very soon? Im sooo in love with the LS
I will start another thread here showing off some of the most useful macros i have written & stolen from other places
This has nothing to do With LS itself or for that matter, other addons.
It is just a way of binding a key to a macro
The method is also somewhat limited since each keybinding require a macro made for the event to happen (spellcast, use item etc.)
- Make a macro with the stuff you want the key to do, give it a relevant / easy name.
- Type the following in your chat: /script SetBindingMacro("SHIFT-F", "MacroName")
Replacing the "MacroName" with the name of the macro you made, case sensitive.
Hint! Check your bindings-cache.wtf file for button names to replace whatever key you want (SHIFT-F in example above)
Mousebuttons is, BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5 - Press [esc] for game menu, enter Keybindings menu
- Save & Close
The only way i know of saving the keybinding (when doing this trick) is to open the Default UI keybinding & manually press save. If there is another way, please let us know
The above procedure will refer the binding directly to the macro, thus removing the need to place it to action bar!!!
Ofc, you can have the macro dragged to an LS button or any actionbar button for regular keypressing.
Hope this is helpful.
I use it for my targetcheck / CC / trade macros. Since there are so many of them & i dont want to clutter my actionbars / LS with all those buttons.
HMmmm Stage 4 incoming very soon? Im sooo in love with the LS
I will start another thread here showing off some of the most useful macros i have written & stolen from other places