Download
(161Kb)
Download
Updated: 09-03-12 05:40 PM
Pictures
File Info
Updated:09-03-12 05:40 PM
Created:unknown
Downloads:42,591
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 04-14-09, 11:17 AM  
nytekat
A Fallenroot Satyr
 
nytekat's Avatar

Forum posts: 20
File comments: 32
Uploads: 0
I was just curious if maybe sometime you could add to or make an addon to this with pre-made macros. I think it would be cool to have a Macro"Book" for the MacroBank. I have to tab out a lot to get macros for my various classes and it's a pain.
Report comment to moderator  
Reply With Quote
Unread 05-16-09, 04:59 AM  
el labero
A Defias Bandit

Forum posts: 2
File comments: 36
Uploads: 0
it would also be cool, if we could share macros with other addon users....
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 10:35 AM  
slickwalker
A Deviate Faerie Dragon
 
slickwalker's Avatar

Forum posts: 18
File comments: 155
Uploads: 0
Is there anyway to have the macro name default as the macro description, instead of just temp description all the time?
Report comment to moderator  
Reply With Quote
Unread 06-01-09, 09:50 AM  
slickwalker
A Deviate Faerie Dragon
 
slickwalker's Avatar

Forum posts: 18
File comments: 155
Uploads: 0
Originally posted by slickwalker
Is there anyway to have the macro name default as the macro description, instead of just temp description all the time?
LOL, That was a fast update! Thanks!
Report comment to moderator  
Reply With Quote
Unread 06-01-09, 02:08 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Sure thing.
Report comment to moderator  
Reply With Quote
Unread 06-03-09, 10:46 PM  
xerty
A Defias Bandit
 
xerty's Avatar

Forum posts: 3
File comments: 43
Uploads: 0
Replace doesn't seem to be working as I would expect it to work.
It replaces the macro, but does not replace the macro name and icon.
Is this how it is supposed to work ?
If so, is there any way to get it to replace everything ?
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 02:14 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Originally posted by xerty
Replace doesn't seem to be working as I would expect it to work.
It replaces the macro, but does not replace the macro name and icon.
Is this how it is supposed to work ?
If so, is there any way to get it to replace everything ?
Hrm, Ya, I'll add some options to how replace works. Currently, that's how it works tho yes.
Report comment to moderator  
Reply With Quote
Unread 06-04-09, 08:11 PM  
xerty
A Defias Bandit
 
xerty's Avatar

Forum posts: 3
File comments: 43
Uploads: 0
Originally posted by Odlaw
Hrm, Ya, I'll add some options to how replace works. Currently, that's how it works tho yes.
Thanks for the reply.
Hope you can make it replace everything and then I'll be really happy
Report comment to moderator  
Reply With Quote
Unread 06-07-09, 08:49 AM  
Myster
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 167
Uploads: 11
Contact info

I added a toggle button to your code to show/hide the macrobank frame, where can I send you the changes I made?
Report comment to moderator  
Reply With Quote
Unread 01-03-10, 07:03 AM  
Tondef
A Cyclonian
 
Tondef's Avatar
AddOn Author - Click to view AddOns

Forum posts: 40
File comments: 57
Uploads: 4
Lost Functions since 3.3

Since 3.3 I don't have the ability to create new macro groups, or edit in Macro Bank anymore. I have attempted to reinstall without deleting the saved variables with no success.

The addon is not throwing any errors, just the buttons and the functions are gone. If I create a macro normally I can still save it to and load it from the bank.
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
Report comment to moderator  
Reply With Quote
Unread 01-05-10, 01:32 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
Re: Lost Functions since 3.3

Originally posted by Tondef
Since 3.3 I don't have the ability to create new macro groups, or edit in Macro Bank anymore. I have attempted to reinstall without deleting the saved variables with no success.

The addon is not throwing any errors, just the buttons and the functions are gone. If I create a macro normally I can still save it to and load it from the bank.
Strange.
I downloaded the archive from here (checking for corrupt archive), and had no issues.
I deleted my saved variables with no issues.
I then deleted my entire addons folder and saved variables, and still no issues.

Hrmmmm
You say the buttons and functions are gone... I'm not quite sure what functions you are referring to.. The only buttons that should appear if you have no macros selected inside MacroBank, are 'Options', 'Create' and 'Save'.
If you have a macro selected in MacroBank, you should additionally get 'Load', 'Replace', 'Delete' and 'Send To'.

If you are not getting these buttons without errors is perhaps another mod has obscurred them.. Do you have skinner? I've had issues with that addon and one of my other addons in the past.

Now, if you do get the buttons.. and can not create macro groups... My only thoughts are that you might be thinking the 'Create' button creates a macro group. The 'create' button doesn't create a macro group, but a blank macro inside MacroBank. It defaults to the 'Temp Category' or whatever category you are currently in.

To 'create' a category, you need to select an existing macro inside MacroBank, edit the 'category', and press enter to save. It should create / move the macro you were using to the new category.


If none of that helps and no other errors are present.. I am not quite sure what might be happening. I'll look into it further. What was the last version that was working for you?


edit: ok.. downloaded skinner and that didn't cause any problems either.
Last edited by Odlaw : 01-05-10 at 01:50 PM.
Report comment to moderator  
Reply With Quote
Unread 02-03-10, 05:23 PM  
ichik
A Murloc Raider
 
ichik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 263
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
Report comment to moderator  
Reply With Quote
Unread 02-06-10, 05:18 PM  
Odlaw
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 67
Uploads: 5
r49 should fix that.
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
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
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.