Download
(8Kb)
Download
Updated: 03-04-18 06:30 AM
Pictures
File Info
Updated:03-04-18 06:30 AM
Created:12-10-13 07:17 PM
Downloads:5,668
Favorites:44
MD5:
Categories:Buff, Debuff, Spell, Action Bar Mods, Miscellaneous

PhanxBind  Popular! (More than 5000 hits)

Version: 7.3.5.0
by: Phanx [More]

I am no longer developing or maintaining World of Warcraft addons. I haven't played in years, and don't have the time or interest to continue working on addons for a game I don't play anymore. If you are an addon author interested in continuing one of my addons, please see https://phanx.net/addons/. If you are an addon user, sorry, but there won't be any more fixes or updates from me.
Direct key bindings for your spells and macros.
[DE] Direkttastenbelegungen für Eure Zauber und Makros.
[ES] Asignaciones de teclas directas para tus hechizos y macros.
[FR] Raccourcis directs pour vos sorts et macros.
[IT] Assegnazioni di tasti diretti per i vostri incantesimi e macro.
[PT] Teclas de atalho diretas para seus feitiços e macros.
[RU] Прямые назначения клавиш для ваших заклинаний и макросов.
Unlike some similar addons, it does not provide a special, separate UI for setting bindings. All bindings are done right in your spellbook or macro UI.
  1. Open your spellbook or macro UI.
  2. Click the new button at the bottom of the window (labelled "Start Binding").
  3. Hover over the spell or macro you want to bind.
  4. Press the key (or combination of keys) you want to bind to the spell or macro.
  5. Click the button again (now labelled "Stop Binding") or just close the window.
To remove a binding, hover over the spell or macro and press the Esc key. If you bind a key to a spell or macro that already has a binding, the old binding will be removed. If you bind a key that was alreadybound to a different spell or macro, the other spell or macro will be unbound. Multiple bindings for a single spell or macro are not supported. Bindings are stored on a per-character basis. There are no options.

Inspired by the old Macaroon Spell Binder.
Language Support
  • Compatible with all languages.
  • Translated into Deutsch, Español, Français, Italiano, Português, and Русский.

Feedback
Open a ticket on GitHub (preferred) or post a comment here on WoWInterface.

If you are reporting a problem, be specific -- tell me which version of the addon you're using (the actual version number, not "latest"), which Broker display you're using, what steps I can follow to reproduce the problem, whether it happens with other addons disabled, and the full text of any related error messages.

Version 7.3.5.0
  • Updated for WoW 7.3
  • Fixed an occasional error about invalid spell slots

Version 7.1.0.0
  • Updated for WoW 7.1

Version 7.0.3.0
  • Updated for WoW 7.0

Version 6.1.0.8
  • Updated for WoW 6.1

Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion

Version 5.4.7.22
  • Fixed an error preventing the binding of mouse buttons

Version 5.4.2.21
  • Removed a debug print

Version 5.4.2.20
  • Bindings will now be shown on flyout buttons outside of the spellbook
  • Miscellaneous code cleanup

Version 5.4.2.19
  • Fixed an error when editing an existing macro

Version 5.4.2.18
  • Added the ability to bind the left and right mouse buttons with modifiers (but not without)
  • Added Russian localization

Version 5.4.2.15
  • First public release
Post A Reply Comment Options
Unread 11-16-17, 08:51 PM  
aallkkaa
A Warpwood Thunder Caller
 
aallkkaa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 32
Uploads: 3
Curseforge

Hello Phanx,

Just posting to bring up to your attention that:
1) Your link to curseforge "Issues" tickets for this addon points to Bugger instead of PhanxBind;
and
2) The version of PhanxBind on curseforge is more recent than the one here. I'm of course not telling you where to upload your versions nor when, but as I posted the other thing above, I figured - with so many addons you have published - this might simply be due to an oversight of yours. So here's the heads up!
Report comment to moderator  
Reply With Quote
Unread 12-07-16, 02:20 PM  
dhraysor
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Feature suggestion

Would it be possible for bindings to be specialization specific? And bind multiple abilities to the same button?
Report comment to moderator  
Reply With Quote
Unread 10-19-14, 11:25 PM  
soccerdud
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Phanx
That shouldn't be possible since the number of spells shown per page does not change. Do you still get the error when all other addons are disabled? Also, what is printed in your chat frame when you type the following command:

/dump SPELLS_PER_PAGE

Finally, if this isn't caused by another addon interfering, then you're probably getting an error during loading; if you don't already have an error-catching addon (no, the default UI's option to show errors isn't good enough) please install Bugger and report back with any errors it catches during login.
hey phanx, thanks for the response. it wouldn't surprise me at all if it is indeed a different addon interfering. i use goldpaw's gui (which, is fairly extensive), as well as a handful of other mods.

entering your dump command returns 12, as expected.

and i absolutely believe that your code/mod are solid-- but adding those two lines will make your stuff more resilient to the whims of fate and the realities of the ecosystem you are a part of, without (i believe) sacrificing functionality-- because the only possible result in that case is failure, regardless of the root cause. there is no doubt that the issue was that the .buttons[index] accessor returned null, and that this minor change will allow you to handle that situation in a comparatively graceful manner (though i didn't look closely enough to tell if it's the best way). interesting to note that i didn't/don't get the popup when bringing up either spellbook or macro pages, but on initial load only. also worth noting is the fact that i only have macros bound using your addon, no spells... and that the addon appeared to work fine otherwise, and continues to do so after my quick patch.

as an aside, it's always a good idea to check return values when working with foreign code.
Last edited by soccerdud : 10-19-14 at 11:34 PM.
Report comment to moderator  
Reply With Quote
Unread 10-19-14, 09:15 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
That shouldn't be possible since the number of spells shown per page does not change. Do you still get the error when all other addons are disabled? Also, what is printed in your chat frame when you type the following command:

/dump SPELLS_PER_PAGE

Finally, if this isn't caused by another addon interfering, then you're probably getting an error during loading; if you don't already have an error-catching addon (no, the default UI's option to show errors isn't good enough) please install Bugger and report back with any errors it catches during login.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 10-18-14, 09:16 PM  
soccerdud
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
hey, i was getting an error popup everytime on login. it is due to the variable local binder being null after attempted assignment on line 150 of Spells.lua. it is easily fixed by making sure the value is not null immediately afterwards. please incorporate this into the next version.


local binder = self.buttons[i]
++ if binder then
local button = binder:GetParent()
binder.text:SetText(GetKeyText(spellToKey[GetButtonSpell(button)]))
if self.bindingMode and not IsButtonPassive(button) and not IsButtonFlyout(button) then
binder:Show()
binder.text:SetParent(binder)
else
binder:Hide()
binder.text:SetParent(button)
end
++ end
Report comment to moderator  
Reply With Quote
Unread 10-16-14, 10:43 AM  
meljen
A Fallenroot Satyr

Forum posts: 28
File comments: 309
Uploads: 0
Originally Posted by Phanx
Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion
YESSSS! Oh my gosh, thank you!
Report comment to moderator  
Reply With Quote
Unread 10-16-14, 04:38 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 6.0.2.31
  • Updated for WoW 6.0
  • Bindings for spells that no longer exist will be removed, with a notification in the chat frame
  • Fixed macro bindings getting lost when macros fail to load in a timely fashion
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-31-14, 07:17 AM  
MacMystery
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by Phanx
Version 5.4.8.26
  • Fixed mouse wheel bindings
Works perfectly now. Thanks for the fast fix !
Report comment to moderator  
Reply With Quote
Unread 08-30-14, 09:59 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.4.8.26
  • Fixed mouse wheel bindings
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-29-14, 04:27 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Hmm, I thought that was already supported... I don't use any mouse wheel bindings, though, so it's entirely possible I broke this feature at some point and just never noticed. I'll look into it and release an update soon if needed.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-29-14, 01:17 PM  
MacMystery
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Love this addon, but one request.

Could you please add the ability to bind to the mousewheel ? I used bindpad and had a pull macro bound to shift+mousewheelup, would love to be able to keep using this.
Report comment to moderator  
Reply With Quote
Unread 03-30-14, 05:17 PM  
meljen
A Fallenroot Satyr

Forum posts: 28
File comments: 309
Uploads: 0
Okay, an update on my macros getting all messed up...

I followed your instructions, thanks for the help Phanx. I renamed my global macros that were being copied over, deleted a few, and then deleted the copied over ones that were in my character-specific window. Renaming them globally seemed to work.

So it seemed to be a very, very strange internal error on my end somewhere. Never seen it happen before. NO idea what caused it. But thankfully all of my addons were able to be turned back on without a hitch. ;-)

Thanks again for the help!
Report comment to moderator  
Reply With Quote
Unread 03-30-14, 10:19 AM  
meljen
A Fallenroot Satyr

Forum posts: 28
File comments: 309
Uploads: 0
Originally Posted by Phanx
Macro bindings are saved by the name of the macro, so if you have a global macro and a character macro with the same name (or two global macros with the same name, etc), the addon just says "bind the macro called X to this key" and the game picks which macro actually gets bound. I suspect it's always the first one in the list.

As for your macros getting duplicated, I have no idea, but unless you have some other addon managing macros, it sounds like a game problem, and would suggest moving your whole WTF folder (eg. to the desktop) and let WoW recreate it with default settings for everything, then log in without addons and copy over your macros by hand (open the old macro-cache.txt files in Notepad and copy the macro contents) making sure you don't duplciate names. Once you're sure your macro system is working correctly, enable all your addons. If they start getting duplicated again, it's an addon problem, and if you need more help figuring out which addon is causing it, post a thread in the Addon Help forum with a list of your addons. If they don't, then you can log out and copy over any important addon settings files from the old WTF folder.
Thank you very much. Will do this today. I'll let you know what happens. Hopefully it's just a WTF issue.
Report comment to moderator  
Reply With Quote
Unread 03-30-14, 12:48 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Macro bindings are saved by the name of the macro, so if you have a global macro and a character macro with the same name (or two global macros with the same name, etc), the addon just says "bind the macro called X to this key" and the game picks which macro actually gets bound. I suspect it's always the first one in the list.

As for your macros getting duplicated, I have no idea, but unless you have some other addon managing macros, it sounds like a game problem, and would suggest moving your whole WTF folder (eg. to the desktop) and let WoW recreate it with default settings for everything, then log in without addons and copy over your macros by hand (open the old macro-cache.txt files in Notepad and copy the macro contents) making sure you don't duplciate names. Once you're sure your macro system is working correctly, enable all your addons. If they start getting duplicated again, it's an addon problem, and if you need more help figuring out which addon is causing it, post a thread in the Addon Help forum with a list of your addons. If they don't, then you can log out and copy over any important addon settings files from the old WTF folder.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Last edited by Phanx : 03-30-14 at 12:49 AM.
Report comment to moderator  
Reply With Quote
Unread 03-29-14, 12:59 PM  
meljen
A Fallenroot Satyr

Forum posts: 28
File comments: 309
Uploads: 0
I have your latest version downloaded... my global macros and spellbook remember their binds, but when I log out and back in, my character-specific binds in my macro window are forgotten every single time. Not sure what's going on?

*edit* I also use Clique, would that conflict? I make sure to not have binds on the same abilities across the two addons. The only reason I still have clique on is that I have't moved the bindings over, and I'd need to save a few of my custom macros out of it into my macro book.

Are there any known addon conflicts with your addon? I really love PhanxBind, it's so slick and easy to use!

*edit #2* CRAP - I just now realized that for some reason, some of my global macros are showing up in my character specific window on my druid. She shares the same name as a shaman I had on another server, and that shaman's global macros are showing. When I deleted those on my druid in the character-specific window, it also deleted them from the global window. And some of my paladin macros are showing up for her too (in the character specific window) which is odd since my paladin has a different name. But anyway, whatever is making those macros duplicate themselves from my global window must be why my character specific macros are bugging out? Do you know what might be causing this duplication? I've never had it happen before...
Last edited by meljen : 03-29-14 at 01:13 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: