478 - Add a Macro Function to an Entire Bar
What is the enhancement in mind? How should it look and feel?
I've been looking for an Addon that can make any button placed on a bar function according to the directions placed in a field. For example, I would like to put 6 buttons from my spell book on this bar, and rather than write Six individual macros so they all function as a mouse over macro, simply write the macro once in a field using *bar1* or some such place holder, and all the buttons on the bar would function according to the macro's direction.
If not possible just let me know, so I can quit looking and get manually typing. Thanks!
Please provide any additional information below.
Bartender is perhaps the most epic bar mod I have ever used, and would never imagine raiding or setting up a UI without it. Many thanks for your hard work and dedication!
| User | When | Change |
|---|---|---|
| Nevcairiel | Nov 11, 2010 at 13:01 UTC | Changed status from New to Accepted |
| Baynn | Nov 08, 2010 at 18:06 UTC | Create |
- 6 comments
- 6 comments
Facts
- Last updated
- Mar 30, 2012
- Reported
- Nov 08, 2010
- Status
- Accepted - Problem reproduced / Need acknowledged.
- Type
- Enhancement - A change which is intended to better the project in some way
- Priority
- Medium - Normal priority.
- Votes
- 1
- Reply
- #6
Baynn Nov 13, 2010 at 00:29 UTC - 0 likesThis would be an example of my Macro.
- Reply
- #5
CMTitan Nov 11, 2010 at 17:51 UTC - 0 likesAnd yet again I oversee. When will I learn?
Good thinking Nevcairiel!
- Reply
- #4
Nevcairiel Nov 11, 2010 at 12:54 UTC - 0 likesIt would be possible to code this, if i am to do this is another point entirely, however.
I figure there is basically two ways:
- Convert all spell buttons to macro buttons on the fly, and just use a macro with replacement markers in them where the spell should be placed.
- Basically do what the auto-assist does, and use macro-syntax to determine the spell thats supposed to be used.
Baynn, can you post the macro you're using?
Something like this, i figure:
[@mouseover,exists,help][@mouseovertarget,exists,help][@player]Cleanse
I've been thinking about how to implement mouseover casting, and instead of forcing those macro combinations, could as well make them dynamically configurable.
You would basically rewrite this to look like this:
[@mouseover,exists,help]mouseover;[@mouseovertarget,exists,help]mouseovertarget;player
And let Bartender apply that to your buttons. It would dynamically change around the target of the spells. Just like auto-assisting works right now, just with added mouseover
I would probably go with some advanced dialog to select which bar to apply the macro to, or even do it by-spell.
- Reply
- #3
CMTitan Nov 11, 2010 at 12:44 UTC - 0 likesThe direction in which you're thinking is an interesting one, Baynn, but I'm afraid the answer is that it can definitely not be solved by an addon. Addons are explicitly forbidden to determine which spell to cast, to prevent one-button-spam-max-DPS setups. I'm afraid your only option is typing, though an addon to help in quickly typing and copy/pasting the macros might be a nice idea for you.
- Reply
- #2
Baynn Nov 09, 2010 at 14:36 UTC - 0 likesI play Retribution Paladin PVP, and Port Paladin for PvE. I have a Mouse over Macro created which, if my target is friendly, will cast on them, if not friendly, will cast on their target, if no target exists, will cast on myself. (Mostly for Word of Glory, Flash of Light, Divine Light as Prot, but also has numerous other applications for Retri PvP.) Ideally, I would write said Macro in a field in the bar options, and replace the spell of the macro with something the Mod would recognize as a substitute for the spell being used.
If I pressed button 1, which is Cleanse, the bar would run the macro I created using cleanse in place of button 1. If I press button 2, which is word of glory, it would run the same macro, this time using word of glory instead.
- Reply
- #1
Nevcairiel Nov 09, 2010 at 08:47 UTC - 0 likesWhat kind of macro function did you think of?
Target switching?
I do plan to support mouseover casting soon, without the need to write individual macros.
Supporting arbitrary macros would be kinda hard, so possibly not happening.