MacroBank
What this addon does
MacroBank is an addon to allow you to save macros for future use.
Features
- Create macros inside the macro bank without having to create them in the main macro window first.
- Macros can be given a category to group similar macros together.
- Categories can be within other categories (Use '\' in between categories: Category1\Category2\Category3)
- Macros can also be given a description to distinguish them between other macros with the same macro name.
- Change both the macro text and icon in the macro bank.
- Save a macro from the main macro window directly to the macro bank.
- Load a macro from the macro bank to your main macro list.
- Replace an existing macro with a macro from the macro bank.
- Delete a macro from the macro bank.
- Load macro groups when swapping talents.
- Send macros to other MacroBank users.
Usage
Opening MacroBank
- Open your normal macro window (/macro)
Saving Macros into the MacroBank
- Select the macro from the main macro window.
- If you have some categories already defined in the MacroBank, select the category for which to save the macro into. (If no category is selected/defined, a temporary category will be created)
- Click Save.
Creating Macros in the MacroBank
- Select a category in the MacroBank for which to create a new macro into. (If no category is selected/defined, a temporary category will be created)
- Click Create.
Loading macros from the MacroBank to your main macro window
- Select the macro from the MacroBank you wish to use.
- Select the tab in the main macro window you wish to load the macro into (General or Character Specific)
- Click Load.
- If the Macro with the same name exists, it will be replaced, otherwise a new macro will be created if there is enough room for another macro.
Replacing macros from the MacroBank into your main macro window
- Select the macro from the MacroBank you wish to use.
- Select the macro in the main macro window you wish to replace.
- Click Replace.
Deleting macros in the MacroBank
- Select the macro you wish to delete.
- Click Delete.
Changing Categories, Description, and Names of macros in the MacroBank
- Select the macro you wish to change
- Type in the new category, description, or name of the macro in the corresponding edit box.
- Press Enter to save it. (Why not as you type? Description/Category is used in the scroll window)
Changing the text of the macro in the MacroBank
- Select the macro you wish to change.
- Type in the new macro text.
- Changes should be saved as you type.
Sending a macro to other users of MacroBank
- Select the macro you wish to send.
- Click the 'Send To' button.
- Type in the name of the user and click 'Ok.'
Notes
- Shift-Clicking spells from the spell book will not insert text into MacroBank's edit boxes. This is code defined in the spell book, and I'm not sure I want to go messing with it. (Same goes for items from your bags or equipped inventory)
- MacroBank's window normally opens to the right of your main macro window. You may move it by dragging it to another location.
Translation
Translation is done through the localization system at www.wowace.com/projects/macro-bank/localization/
/salute
Fixed macro text saving when clicking the icon.
Go to macrobank, edit some of the macro text, immediately change the icon for the macro.
You loose all editing. Maybe you can use the same solution as you did for the load button?
How about 'upload' to get macros into macrobank and 'download' to push out macros from macrobank to 'live' ? or some other words that have the same point of view data transfer.
Change the icon in macro bank to ?, yup that solves that issue :)
Size of edit box looks solved too :)
Macro text changes now transfer on load :)
Understood about shift clicking spells and drag n drop.
I also fixed it so when you click Replace or Load, it will save the macro text in the macro bank before restoring/loading. Also fixed the size of the edit box, so it should now be the same size as the original macro windows edit box.
As for saving the ? icons. I'm afraid I have no way of telling if a 'live' macro has a ? icon or not. The API function calls only return the current texture, and not if it's using the dynamic ? icon.
Shift clicking spells from the spell book to insert them into the main macro window is a function built into the spell book. I'm not sure if I should go messing around with blizzard's code too much, or hooking it.
The MacroBank window is only initially set to the right of the macro window. Once it is set, it is free to be moved about. Just click and drag it away. It's not hard set to always be stuck to the right of the main macro window (I didn't want it disappearing off the edge of the screen when someone does just what you do)
Now as for making it more intuitive when you create/save a new macro... I'm open to suggestions on how to do it. I thought about having 2 scroll frames, 1 for the category, 1 for the macros. However, I'd have to make the MacroBank window even bigger than it is now. Something I wanted to keep kind of compact as possible.
One thing I thought about, is letting you drag and drop from the live Macro window to the MacroBank. That part should be pretty easy.. However, people might then expect that they can do the opposite just as easily. This would require replacing/adding code to blizzard default UI macro window. Again, something that might not be a good idea if there are other mods out there that already replace the Macro window.
Suggestion: /MacroBank Restore CategoryName
@Apaseall: Easy workaround. Change the icon on the macro in the bank back to the ? and it'll be fine.
That said, there are a few things that, for want of a better way to put it, are letting it down.
No Tickets on CurseForge - you get re-directed to WOWAce instead, which is empty.
Replace - Will not do replace macro text unless you;
1 - edit macro in macrobank.
2 - select another macro in macrobank
3 - reselect the first edited macro in macrobank
Restore - the name is a bit misleading, similar to replace, manybe transfer or something like that would be more intuative? Also requires same move away move back routine as replace.
Macro Icon - does not appear to update from ? to the appropriate icon for the spell that would be first cast on activation of the macro.
Saving Macros in macrobank - not obvious under which catagory the macro will be saved and a little annoying to have to search for the newly added macro to edit its description.
Making macros in macrobank;
1 - if your like me, you will want to have open your spell book to check the name of spells. The blizz macro frame moves over to the right, so you have both frames side by side. Macrobanks frame does not move. At the moment you have macrobanks frame sitting on top of blizz's macro frame. You can see both, its a bit confusing.
2 - it appears that you cannot shift-click the spell you want and have its name appear in the macro you are creating in macrobank. Instead the spell name appears in Blizz's macro frame. Odd.
No how to use me document. Would save posts asking how do I change the catagory name and how do I keep my edited text.
I open the defaukt macro thing and the macro bank also open... then what? I only have a SAVE andC CREATE button. Clicking either seams to do nothing.
How do you use this mod?
Save should save the currently selected macro from your main macro list to the macro bank.
Create should create a new macro in the macro bank (that you will need to edit)
r20 should fix the bug that was preventing new users from saving/creating.
- Blizzard added more icons in 3.0 and with the way I save icons, it messed up the icons in the MacroBank if you had some from 2.4.3. So I now save the icons as textures instead of indexes, and should not mess up when they add more icons.
- It will now scroll to the currently selected icon when choosing an icon.
Perhaps making the tree categories selectable auto entering the a macro via "Save" will send it to the selected category.
With that being said, I really do appreciate it that you made this addon. It's made my life a whole lot easier and freed up a lot of space.
<3