Download
(161 Kb)
Download
Updated: 09-03-12 05:40 PM
Pictures
File Info
Compatibility:
Mists of Pandaria (5.0.4)
Updated:09-03-12 05:40 PM
Created:unknown
Downloads:15,922
Favorites:179
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)
Archived Files (31)
File Name
Version
Size
Author
Date
r69
161kB
Odlaw
08-28-12 10:36 AM
r67
160kB
Odlaw
02-20-12 07:11 AM
r66
160kB
Odlaw
12-01-11 03:26 PM
r65
159kB
Odlaw
10-30-11 04:53 PM
r64
158kB
Odlaw
07-28-11 04:37 PM
r61
157kB
Odlaw
05-13-11 09:37 AM
r58
146kB
Odlaw
03-12-11 10:00 AM
r57
146kB
Odlaw
02-22-11 11:24 AM
r56
143kB
Odlaw
10-12-10 12:19 PM
r55
143kB
Odlaw
09-09-10 09:43 PM
r54
143kB
Odlaw
09-09-10 12:37 PM
r52
143kB
Odlaw
05-03-10 03:51 PM
r49
141kB
Odlaw
02-06-10 12:32 PM
r48
141kB
Odlaw
12-29-09 11:07 AM
r47
141kB
Odlaw
12-21-09 09:36 PM
r46
140kB
Odlaw
12-10-09 09:23 AM
r44
136kB
Odlaw
10-18-09 09:41 AM
r41
132kB
Odlaw
08-04-09 12:08 PM
r40
132kB
Odlaw
07-14-09 11:34 AM
r39
132kB
Odlaw
07-14-09 08:47 AM
r37
132kB
Odlaw
06-26-09 09:29 AM
r35
131kB
Odlaw
06-05-09 02:30 PM
r34
130kB
Odlaw
06-02-09 11:50 AM
r33
130kB
Odlaw
05-31-09 03:41 PM
r32
129kB
Odlaw
05-22-09 09:59 AM
r31
129kB
Odlaw
05-21-09 10:37 AM
r30
118kB
Odlaw
05-15-09 09:13 PM
r29
114kB
Odlaw
04-17-09 09:08 AM
r28
114kB
Odlaw
04-14-09 09:13 AM
r23
57kB
Odlaw
01-25-09 11:02 AM
r18
33kB
Odlaw
10-14-08 09:27 AM


Post A Reply Comment Options
Old 11-02-12, 12:18 AM  
mrsphxbabe
A Kobold Labourer
 
mrsphxbabe's Avatar

Forum posts: 0
File comments: 1
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.
mrsphxbabe is offline Report comment to moderator  
Reply With Quote
Old 09-03-12, 05:38 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 7
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.
Odlaw is offline Report comment to moderator  
Reply With Quote
Old 08-31-12, 03:05 PM  
Dessembrae
A Fallenroot Satyr
 
Dessembrae's Avatar
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 77
Uploads: 11
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.
Dessembrae is offline Report comment to moderator  
Reply With Quote
Old 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>
__________________
Malecden is offline Report comment to moderator  
Reply With Quote
Old 11-29-11, 10:45 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1187
File comments: 783
Uploads: 82
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 10:45 AM.
Dridzt is offline Report comment to moderator  
Reply With Quote
Old 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

Lute is offline Report comment to moderator  
Reply With Quote
Old 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.
CricketEmerissEU is offline Report comment to moderator  
Reply With Quote
Old 05-13-11, 09:31 AM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 7
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.
Odlaw is offline Report comment to moderator  
Reply With Quote
Old 04-06-11, 08:30 AM  
PROXiCiDE
A Kobold Labourer
 
PROXiCiDE's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
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
PROXiCiDE is offline Report comment to moderator  
Reply With Quote
Old 03-27-11, 12:15 AM  
Blu_Haze
A Cliff Giant
 
Blu_Haze's Avatar

Forum posts: 71
File comments: 12
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.
Blu_Haze is offline Report comment to moderator  
Reply With Quote
Old 03-02-11, 11:18 AM  
Amemir
Son of a Murloc
 
Amemir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 40
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 09:53 AM.
Amemir is offline Report comment to moderator  
Reply With Quote
Old 02-22-11, 05:52 PM  
bikikitty
A Kobold Labourer

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

Good job!
Well done!
bikikitty is offline Report comment to moderator  
Reply With Quote
Old 02-01-11, 07: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 07:37 PM.
coldsun is offline Report comment to moderator  
Reply With Quote
Old 02-06-10, 04:18 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 7
r49 should fix that.
Odlaw is offline Report comment to moderator  
Reply With Quote
Old 02-03-10, 04:23 PM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 264
Uploads: 5
Code:
[02:06:18] Interface\AddOns\MacroBank\MacroBank.lua:1057: attempt to index field 'ExpandedTree' (a nil value)
(tail call): ?
Interface\AddOns\MacroBank\MacroBank.lua:1057: in function `GetMacroIndex'
Interface\AddOns\MacroBank\MacroBank.lua:964: in function `DisplayMacro'
Interface\AddOns\MacroBank\MacroBank.lua:489: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
[string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
[C]: ?
[string "safecall Dispatcher[2]"]:13: in function `?'
...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:120: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
[C]: in function `LoadAddOn'
Interface\AddOns\ncHoverBind\ncHoverBind.lua:217: in main chunk
With 3.3.2
ichik is offline 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.