Download
(161Kb)
Download
Updated: 09-03-12 05:40 PM
Pictures
File Info
Updated:09-03-12 05:40 PM
Created:unknown
Downloads:42,570
Favorites:176
MD5:

MacroBank  Popular! (More than 5000 hits)

Version: r71
by: Odlaw [More]

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.

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/

- 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.

- r58 -
Fix error when selecting icon and cancel button fix in icon choice window.

- 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.

- r56 -
toc update

- r55 -
toc fix

- r54 -
Added right-click dropdown menu for Categories: Change Category, Load Category
Fixed loading categories when you shift-clicked the load button.

- r53 -
Added support for categories within categories. (Category1\Category2\Category3\etc.)
ToC Update: X-Compatible-With: 40000

- r52 -
zhCN update (thanks wowuicn)

- 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.

- r49 -
Fix error when blizzard macro ui is loaded early.

- r48 -
Fix error when deleting macros.

- r47 -
Fix max number of character specific macros
Options to delete character/global macros on talent swap

- r46 -
zhCN updated. Thanks wowuicn

- r45 -
toc update
Add multiple categories to be loaded on talent switch.

- r44 -
Let users send macros to non-MacroBank users...Blizzard auto-interprets some stuff (%t, %f), and filters other things.

- r43 -
Moved some variable init stuff around.
Prevent talent swap macros until after everything is loaded
Instead of using a hooked OnShow, we will create a frame and parent it to MacroFrame.

- r42 -
Fix auto load macro error on first startup.

- r41 -
Update .toc for 3.2

- r40 -
Fix toc for missing library
Fix Hooks error.

- r39 -
localization (zhTW) update, thanks wowuicn

- r38 -
getglobal() replaced with _G
localization (zhCN) update thanks wowuicn

- r37 -
Added Toggle a button to the main macro window to open/close the MacroBank window.
Added options to remember and reset the MacroBank anchor.
Added option to open the MacroBank window when opening main macro window.
Localization - koKR (Thanks mrgyver)
Localization - zhCN (thanks to wowuicn)

- r35 -
Add some options to change how replace works.

- r34 -
toc update (Adding X-WoWI-ID for Minion updater support)
Localization update (zhCN thanks to wowuicn)

- 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.

- r29 -
correct toc version

- r28 -
toc update
fixed a library error

- r23 -
Added slash commands /macrobank and /mb for loading of entire categories of macros.
Load Blizzard_MacroUI if it's not loaded (needed for loading categories before opening /macro window)
a few other function changes here n there.

- r22 -
Fix saving macro text when changing icons.
UI: Added groups with arrows for saving/loading stuff
UI: Added another line for the macro list scroll window

- 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)
Post A Reply Comment Options
Unread 11-25-14, 03:44 PM  
robospine
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: Please Update for 6.0 WoD!

Originally Posted by Xancepants
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.
I am having the same problem.

I found a temporary solution:

1. Open ActionBarSaver.lua
2. Search text

Code:
local MAX_MACROS = 54
local MAX_CHAR_MACROS = 18
local MAX_GLOBAL_MACROS = 36
local MAX_ACTION_BUTTONS = 144
local POSSESSION_START = 121
local POSSESSION_END = 132
3. Add after

Code:
local MAX_CHAR_MACROS = MAX_CHARACTER_MACROS
local MAX_GLOBAL_MACROS = MAX_ACCOUNT_MACROS
local MAX_MACROS = MAX_CHAR_MACROS + MAX_GLOBAL_MACROS
4. Result

Code:
local MAX_MACROS = 54
local MAX_CHAR_MACROS = 18
local MAX_GLOBAL_MACROS = 36
local MAX_ACTION_BUTTONS = 144
local POSSESSION_START = 121
local POSSESSION_END = 132

local MAX_CHAR_MACROS = MAX_CHARACTER_MACROS
local MAX_GLOBAL_MACROS = MAX_ACCOUNT_MACROS
local MAX_MACROS = MAX_CHAR_MACROS + MAX_GLOBAL_MACROS
Worked for me
Last edited by robospine : 11-25-14 at 03:58 PM.
Report comment to moderator  
Reply With Quote
Unread 10-18-14, 01:38 PM  
Xancepants
A Deviate Faerie Dragon

Forum posts: 17
File comments: 3
Uploads: 0
Please Update for 6.0 WoD!

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.
Report comment to moderator  
Reply With Quote
Unread 11-02-12, 12:18 AM  
mrsphxbabe
A Kobold Labourer
 
mrsphxbabe's Avatar

Forum posts: 0
File comments: 2
Uploads: 0
can not use the send to option

I am trying to share the macros with someone else who also has downloaded lazy macros and macro bank, but when I push the send to button nothing happens. Please help thanks
__________________
Last edited by mrsphxbabe : 11-02-12 at 12:49 AM.
Report comment to moderator  
Reply With Quote
Unread 09-03-12, 05:38 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Bah - that was nearly identical code to how blizzard builds their icon table for their macros. They changed 1 function as far as I can tell..

I threw in some checks to make sure they don't return nil also

Should be fixed r71
Last edited by Odlaw : 09-04-12 at 05:32 PM.
Report comment to moderator  
Reply With Quote
Unread 08-31-12, 03:05 PM  
Dessembrae
A Fallenroot Satyr
 
Dessembrae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 75
Uploads: 5
Got the same error, however it appears here only on reloads of the UI (/rl).
Code:
Date: 2012-08-31 22:43:50
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\MacroBank\MacroBank.lua line 2903:
   bad argument #1 to 'upper' (string expected, got nil)
Debug:
   (tail call): ?
   [C]: upper()
   MacroBank\MacroBank.lua:2903: BuildIconTable()
   MacroBank\MacroBank.lua:923:
      MacroBank\MacroBank.lua:899
   (tail call): ?
   [C]: ?
   [string "safecall Dispatcher[1]"]:9:
      [string "safecall Dispatcher[1]"]:5
   (tail call): ?
   Ace3\AceAddon-3.0\AceAddon-3.0.lua:514: InitializeAddon()
   Ace3\AceAddon-3.0\AceAddon-3.0.lua:629:
      Ace3\AceAddon-3.0\AceAddon-3.0.lua:621
__________________
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.
Report comment to moderator  
Reply With Quote
Unread 08-28-12, 05:04 PM  
Malecden
A Murloc Raider
 
Malecden's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 11
Uploads: 4
I'm receiving the following error:

Code:
Message: Interface\AddOns\MacroBank\MacroBank.lua:2903: bad argument #1 to 'upper' (string expected, got nil)
Time: 08/28/12 18:59:01
Count: 1
Stack: [C]: in function `upper'
Interface\AddOns\MacroBank\MacroBank.lua:2903: in function `BuildIconTable'
Interface\AddOns\MacroBank\MacroBank.lua:923: in function <Interface\AddOns\MacroBank\MacroBank.lua:899>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:514: in function `InitializeAddon'
Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:629: in function <Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:621>

Locals: <none>
__________________
Report comment to moderator  
Reply With Quote
Unread 11-29-11, 11:45 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
Error and Fix for 4.3

Posted a reply with a temporary fix on ticket11 at Wowace for the
"attempt to call global 'GetNumMacroIcons' (a nil value)" error.

Until Odlaw has a chance to push a proper update.
Last edited by Dridzt : 11-29-11 at 11:45 AM.
Report comment to moderator  
Reply With Quote
Unread 07-08-11, 08:03 PM  
Lute
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 2
Uploads: 1
WoWLazyMacros Plugin for MacroBank

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.
__________________
http://wowlazymacros.com

Report comment to moderator  
Reply With Quote
Unread 05-17-11, 03:02 PM  
CricketEmerissEU
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
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.
Report comment to moderator  
Reply With Quote
Unread 05-13-11, 09:31 AM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Tell it not to delete macros in the Auto Load section.

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.
Report comment to moderator  
Reply With Quote
Unread 04-06-11, 08:30 AM  
PROXiCiDE
A Kobold Labourer
 
PROXiCiDE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 12
Uploads: 1
This is probably the most exciting Addon i can think of that has to do with Macros... not only can this help limit macros with

/cast [spec:1]ability1
/cast [spec:2]ability2

Because you can sort them in Category's and just load them for whatever spec you want..Im a hunter and i switch between specs for different things
Report comment to moderator  
Reply With Quote
Unread 03-27-11, 12:15 AM  
Blu_Haze
A Cliff Giant
 
Blu_Haze's Avatar

Forum posts: 71
File comments: 9
Uploads: 0
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.
__________________
Call me Blu.

Last edited by Blu_Haze : 03-27-11 at 12:20 AM.
Report comment to moderator  
Reply With Quote
Unread 03-02-11, 12:18 PM  
Amemir
Son of a Murloc
 
Amemir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 41
Uploads: 1
I'm curious as to what the correct way to load single macros through the slash command is?

Loading an entire category\sub-category works but as soon as I try to specify a single macro the message "MacroBank: Can't Find Category" appears in the chat frame.

I have tried the following both with and without quotes around the last part but always get the "MacroBank: Can't Find Category" message.
Code:
/mb load char name
/mb load char description
/mb load char category\name
/mb load char category\description
Last edited by Amemir : 03-07-11 at 10:53 AM.
Report comment to moderator  
Reply With Quote
Unread 02-22-11, 06:52 PM  
bikikitty
A Kobold Labourer

Forum posts: 0
File comments: 37
Uploads: 0
Thumbs up Useful for saving my many macros

Good job!
Well done!
Report comment to moderator  
Reply With Quote
Unread 02-01-11, 08:39 AM  
coldsun
A Kobold Labourer

Forum posts: 1
File comments: 37
Uploads: 0
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.


regards
Last edited by coldsun : 02-01-11 at 08:37 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

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.