This mod simply pops out a menu of trinkets when you mouseover a macro that contains "#show 13" or "#show 14". Selecting a trinket in the menu will equip it to that slot.
For more features look for its big brother TrinketMenu or its bigger brother ItemRack. Those handle automated swaps, combat queues, etc.
__ New in 1.11 __
* Fix for more vertical bars
__ New in 1.1 __
* Tooltips on trinkets in menu
* More forgiveness in detecting vertical bars
Step 1: If you don't have one already, make a macro like this:
#showtooltip 13
#show 13
/use 13
Step 2: Make sure you choose the Red Question Mark macro icon
Step 3: Put the macro anywhere on an action bar.
Step 4: Hover the mouse over that macro and you should see all trinkets in your bags.
Step 5: Click a trinket in the menu to equip it.
__ FAQ __
Q: Why?
A: It's an experiment. It's less than 200 lines, why not?!
Q: Will this work with any action bar mod?
A: In theory it should. The only exception is action buttons that aren't real "actions".
Q: Will this work on live? And WotLK?
A: It works in both 2.4.3 and WotLK beta.
Q: Are there any options? Slash commands?
A: No options sorry. The menus pop out intelligently depending if it thinks the bar is vertical or horizontal and from where. For slash commands there's only one to toggle the mod: /minitrinketmenu (or /mtm) This setting does not save.
Optional Files - Mini TrinketMenu
Sorry, there are currently no optional files available.
I had the same problem which wont work on bartender 4.
Quote:
Originally posted by xtoto this addon is exactly what i want but it works only with BLizzard bars? when i use trinitybars (now called macaroon) its doesnt work.
Originally posted by Vocah83 nice addon, if you could add an option to only show the other trinkets while out of combat and while holding down "shift" (or other hotkey) it would be perfect (atleast for me)
line(43) in MiniTrinketMenu.lua
Code:
if slot==13 or slot==14 then
need
Code:
if (slot==13 or slot==14) and (IsAltKeyDown()) then
nice addon, if you could add an option to only show the other trinkets while out of combat and while holding down "shift" (or other hotkey) it would be perfect (atleast for me)
How this mod detects if a button is vertical is by looking at its name and comparing the left edge of numerically adjacent buttons.
When it sees Button49 it checks for Button48 or Button50 and sees if their left edges are the same. If so it assumes they're vertically aligned.
When it sees Button50 it checks for Button49 or Button51 etc.
The problem was when it was lifting the numbers it was actually only grabbing the last digit. So for BT3Button49 it was checking BT3Button8 and BT3Button7. 1.11 will see BT3Button49 and check for 48 and 50. And seeing 50 has the same left edge it should consider it vertical.
[41:03]BT3Button49 is at 1024.3436279297
[41:13]BT3Button50 is at 1024.3436279297
The timetags are from my chatmod.
It still opens to the top, not to the side. Is it because the closest edge is detected and in my case that's the lower edge for both buttons, despite the fact that the bar is vertical?
In the lower right corner. Shouldn't it be going out horizontally, seeing my bar is vertical? This way if I hover over the lower trinket slot the popup covers the upper one.
Can you tell me the result of this while the mouse is over each of those two vertical buttons:
/run local f=GetMouseFocus() ChatFrame1:AddMessage((f:GetName() or "<no name>").." is at "..(f:GetLeft() or "<nil>"))
(the important info is the name of each button and whether their left edges are exactly aligned. ie 1098.89819282 vs 1098.89819281)
edit: try the new one see if it senses those as vertical. If not could you still run the above for the two buttons? I'd like to see the button names.
Originally posted by Gello I honestly didn't expect this to be well received lol. The real trinketmenu is getting an options panel I'll see about tossing one in for this tho I'd like to keep it to a maximum 2-3 options.
The reason I like this so much is because it rips out anything I never used in TrinketMenu anyways. I don't need the queueing stuff, or autoswaps. All I need is a way to quickly swap trinkets because if I right-click them in my inventory they always default to the upper slot.
This mod solves that, and nothing more. Makes it amazingly awesome.
Oh btw, I found that screenie showing the misplacement:
In the lower right corner. Shouldn't it be going out horizontally, seeing my bar is vertical? This way if I hover over the lower trinket slot the popup covers the upper one.
I like this a lot, since it's so simple.. though the one thing I miss from ItemRack (only other feature I use) is the quick swap from the character panel. Probably totally out of the realm of this addon in particular but maybe the same concept could be used there, for a new addon? Though maybe SwapMagic still works (hadn't checked)? /ramble over
Actually I took the tooltip out. In the default UI the tooltip sits just over the action bar, so when you start mousing over the menu the tooltip would get in the way.
I honestly didn't expect this to be well received lol. The real trinketmenu is getting an options panel I'll see about tossing one in for this tho I'd like to keep it to a maximum 2-3 options.
Quote:
Originally posted by erica647 I did run across a small issue which may be a bug... I don't see tooltips on any trinket except when I hover over the one currently equipped. This is the same with both trinket slots.