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.

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.

UsageOpening 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/

- r71 -
Fix error when it builds icon table

- r70 -
Fixed some variables that were not defined local.
Changed some StaticPopupDialogs to use a preferred index.

- r69 -
Updated for 5.0

- r68 -
fix a trailing control character appended to macro receives

- r67 -
Fix creating macro if no category is selected

- r66 -
Update for 4.3

- r65 -
Add option to overwrite received macros.

- r64 -
Moved MacroBank button on macro window.
Added icons to scrolling macro bank list.
Can now send entire groups of macros to other MacroBank users (only immediate group)
Right clicking macros will now show a different menu than right clicking on categories

- r61 -
Fix sending macros to other macrobank users.

- r60 -
toc update
change how macros are sent to other macrobank users

- r59 -
Prevent macros from being saved or loaded with empty names or categories.

- r57 -
If a category is not selected when you create / save a macro, it will now ask for a category.
Added 'Create Category', 'Delete Macros', and 'Delete Subcategories' items in the category list dropdown menu.
Can now right click any line in the category list for the dropdown menu.

- r51 -
Shift-Clicking Save will now save the entire global or character macros to a category of your choice.
Shift-Clicking Load will now load the entire category.
Added AutoLoad for Global/Char macros on login options.
Updated a few localization phrases

- r50 -
Moved the loading of Blizzard_MacroUI to PLAYER_ENTERING_WORLD instead of OnEnable. This should fix it not working with LargeMacroIconSelection addon.
Also increased the size of MacroBank's Icon selection to 10x10 as that seems to be pretty nice.

- r33 -
Guild, Raid, Party options added to send. (EasyMenu)
Added an option to use the macro name as the description when saving a macro to MacroBank
Changed some wording in the menu options.

- r32 -
Locale update (zhCN) Thanks to wowuicn

- r31 -
Moved Options to AceGUI, and added a bunch of options
Moved macros to global db (so that talent swapping is done on a profile basis)
Added PreMadeMacros.lua so you can make macros ahead of time and import them.
Added delete macro confirmation.
Added option to send macros to other MacroBank users. Code idea from Hack.

- r30 -
Will now save any changes to your main macro window when trying to save the macro to MacroBank.lua
Added options to auto load macros when swapping talents.

- r21 -
Renamed the 'Restore' Button to 'Load' (function unchanged)
Will now save the macro text in the macrobank when clicking Load or Replace.
Clicking the +/- expansion icons will now select the category line itself. Hopefully to make it more clear that this is where new macros are saved/created at.

- r20 -
Fix to let new users create/save macros to the MacroBank.

- r19 -
Will now save the texture names instead of the texture index
When creating/saving a macro to the MacroBank, it will try to create it in the currently selected category first.
When changing the icon of a macro in the MacroBank, it will now scroll to the currently selected icon.
Removed superfluous .xml files

- r18 -
zhCN update
zhTW added
koKR added

- r81538 -
wotlk support
changed the saving of the macro body text to be more intelligent
added a couple localization lines, and removed a debugging line (oops)
zhCN localization (thanks to wowuicn) (minus the previous localization lines)

After the 6.0 patch, either the addon "MacroBank" or "Action Bar Saver" has stopped working. I'm still unsure which addon, because whenever I try to reload a profile with Action Bar Saver on any character, it fails to load any of the character-specific macros, but some of the general macros tab seem to load on to the action bar. So I'm not sure if its Action Bar Saver not properly restoring macros onto the action bars, or if its Macro Bank having issues that cause Action Bar Saver to not recognize the macros. It gives me an error saying "failed to load macro #2 into slot #2. The macro appears to have been deleted" for every macro, #2, #3, #4 etc. I've tried re-installing both addons, re-saving/re-doing all the macros as well as setting up action bars, but it always gives the same error. Any word of an update for either of these addons? Or perhaps alternative addons just like these ones that do work for 6.0? Thank you.

After the 6.0 patch, either the addon "MacroBank" or "Action Bar Saver" has stopped working. I'm still unsure which addon, because whenever I try to reload a profile with Action Bar Saver on any character, it fails to load any of the character-specific macros, but some of the general macros tab seem to load on to the action bar. So I'm not sure if its Action Bar Saver not properly restoring macros onto the action bars, or if its Macro Bank having issues that cause Action Bar Saver to not recognize the macros. It gives me an error saying "failed to load macro #2 into slot #2. The macro appears to have been deleted" for every macro, #2, #3, #4 etc. I've tried re-installing both addons, re-saving/re-doing all the macros as well as setting up action bars, but it always gives the same error. Any word of an update for either of these addons? Or perhaps alternative addons just like these ones that do work for 6.0? Thank you.

__________________
Dessembrae knows the sorrows in our souls.
He walks at the side of each mortal,
a vessel of regret on the fires of vengeance.
Dessembrae knows the sorrows,
and would now share them with us all.

Hello MacroBank users, I made a plugin for this add-On called WoWLazyMacros Plugin for MacroBank. You can find it here in WoWInterface doing a search. WoWLazyMacros is a plugin that imports lazy macros located @ wowlazymacros.com to MacroBank add-On.

A slight issue that caused me some headache before I figured out what the problem was:

If you create a macro in the normal macro box and saves it to macro bank the icon saved to that macro will NOT be “?” if your macro starts with #showtooltip, instead it copies the "Spellicon" of the first spell in your macro.

If the macros are the same name.. like Button1, Button2, Button3, etc. they will just get replaced instead of created a 2nd time.

Originally posted by Blu_Haze So far everything works to my expectations, except for one fatal flaw.

I want to use the auto-delete function so that I only have macros for spec 1 showing while I'm in spec 1, and only macros for spec 2 showing while I'm in spec 2.

However, when the macros are wiped and reinserted automatically it deletes ALL the macros from my hotbars as well. This isn't a flaw of the mod directly, since unfortunately that's just how it works when you delete a macro (regardless of what spec you're in) by Blizzards design.

Is there any way you can work around this though? Perhaps a very stripped down version of the functionality that mods like Action Bar Saver provide? Basically where your mod will automatically remember and save the button placement for the macros under its control?

I understand if that's outside of the scope of the mod, but if you have the time to implement something like that it'd be a huge help.

So far everything works to my expectations, except for one fatal flaw.

I want to use the auto-delete function so that I only have macros for spec 1 showing while I'm in spec 1, and only macros for spec 2 showing while I'm in spec 2.

However, when the macros are wiped and reinserted automatically it deletes ALL the macros from my hotbars as well. This isn't a flaw of the mod directly, since unfortunately that's just how it works when you delete a macro (regardless of what spec you're in) by Blizzards design.

Is there any way you can work around this though? Perhaps a very stripped down version of the functionality that mods like Action Bar Saver provide? Basically where your mod will automatically remember and save the button placement for the macros under its control?

I understand if that's outside of the scope of the mod, but if you have the time to implement something like that it'd be a huge help.

id like to see a button to CREATE an (empty/new) CATEGORY before i load/save macros to the bank. Would make it alot easier to sort stuff, instead of saving a macro to a current existing category (usually the temp thing), then clicking on it and editiing it to a new category = uncomfortable and circumstantial, plus it CHANGES (=overwriting/deleting) the (former) existing category when only 1 macro is contained. This is not really well thought-through mho as it is.

anyway , it is a nice addon and would be really handy if ud add the functionality

p.s just see, when r-klicking to change the current category, it would be handy if the current category's name would be inserted already so its faster to fix typos then have to rewrite the whole category's name.

p.p.s some more things :
- pls add an option to delete whole categories with macros included (ofc with some kind of warning if the user really want to do that)
- add a warning before loading a whole category into the macro tab, 1 wrong klick and the macro tab is messed up. Mho too dangerous the way it works now.

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.