[Macro] Toggle addons without relogging menu

User Tag List

Results 1 to 13 of 13
  1. #1
    carma12's Avatar Active Member
    Reputation
    47
    Join Date
    Sep 2007
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Macro] Toggle addons without relogging

    I used the search function but I didn't find anything similar to this.

    A few days ago my zoning times(loading screens) were bugging me. I play PVE, PVP and the good old AH game, so my demand for addons is pretty high(I use over 100). If you have a seperate character for each aspect of the game then this is not very interessting for you.

    I realised, while PVPing, that my raiding-addons were still running and I think this is a waste of ressources, time(considering loading times) and performance. Maybe I'm a little bit of a perfectionist. So I looked up an addon that would allow you to enable/disable addons ingame. I found Ampere which works ok, but since I have so many addons and I need to disable/enable multiple addons every time for raiding or PVPing, I was looking for a more comfortable way to handle this.

    So I stumbled through the WOW-API and some lua-sites and built the following macros:

    Macro for disabling addons
    Code:
    /run DisableAddOn("Afflicted"); DisableAddOn("AtlasLoot"); ReloadUI()
    This macro disables the addons Afflicted and AtlasLoot. You can just add other ones you like. Just add another 'DisableAddOn("YourAddon");' (without the ') before the 'ReloadUI()'.
    IMPORTANT: You can't just add the displayname of the addon, you must use the name of the folder containing the addon. Just look at YOURWOWPATH\Interface\AddOns. It's also CaseSensitive, so 'DisableAddOn' is not the same as 'DisableAddon'.

    Macro for disabling addons
    Code:
    /run EnableAddOn("Afflicted"); EnableAddOn("AtlasLoot"); ReloadUI()
    This macro enables the addons Afflicted and AtlasLoot. You can just add other ones you like. Just add another 'EnableAddOn("YourAddon");' (without the ') before the 'ReloadUI()'.
    IMPORTANT: You can't just add the displayname of the addon, you must use the name of the folder containing the addon. Just look at YOURWOWPATH\Interface\AddOns. It's also CaseSensitive, so 'EnableAddOn' is not the same as 'EnableAddon'.

    Thats not too bad, but you will allways have to create 1 macro for enabling and 1 for disabling, so I came up with something better.

    Macro for toggling addons
    Code:
    /run t={"Recount","Omen","DBM-"} for i=1,GetNumAddOns() do for n=1,3 do a=GetAddOnInfo(i) if strfind(a,t[n]) then if IsAddOnLoaded(i) then DisableAddOn(i) else EnableAddOn(i) end end end end ReloadUI()
    This macro will toggle the current state of all addons containing 'Recount', 'Omen' or 'DBM-' in their foldernames. This is perfect for something like DBM, where you have like 11 folders all containing 'DBM-'.
    Usage:
    You basicly just add the searchterm you like into the {} with quotation marks(") at the beginning and at the end. Searchterms are separated by a comma. You also need to adjust the number at 'n=1,3'. Just change the 3 to the number of searchterms you have specified. Remember: It toggles the addons, so for this to work, they all need to have the same state in the first place.


    With these macros and some common sense you can ease up the memory usage of WoW pretty good. If you want to PVP, just disable all the addons you don't need and enable the PVPaddons, all via some simple clicks on the macros.

    I think since the auctionaddons need so much memory, it would be a good place to start.

    Edit:
    If you want to use a graphical interface for this then you can check out this addon: Addon Control Panel.
    Thanks to Black Gull and Strichnine for posting that addon.

    Greetings,
    carma12
    Last edited by carma12; 11-13-2009 at 07:28 AM.

    [Macro] Toggle addons without relogging
  2. #2
    grassynole's Avatar Elite User
    Reputation
    339
    Join Date
    Aug 2008
    Posts
    387
    Thanks G/R
    1/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is new news to me +Rep
    Every1 knows Jesus was a shaman, think about it the reincarnate, the waterwalking... comon he was cc'd d for days!

  3. #3
    Willy's Avatar Elite User
    CoreCoins Purchaser
    Reputation
    478
    Join Date
    Mar 2007
    Posts
    682
    Thanks G/R
    147/124
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is great +Rep

  4. #4
    Black Gull's Avatar Contributor
    Reputation
    153
    Join Date
    Jun 2007
    Posts
    278
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you prefer an interface, Addon Control Panel does it same :P

  5. #5
    Strichnine's Avatar Knight-Champion
    Reputation
    82
    Join Date
    Sep 2007
    Posts
    497
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Addon Control Panel - Addons - Curse would also work

    edit: damn hahah Gull you beat me to it

  6. #6
    Black Gull's Avatar Contributor
    Reputation
    153
    Join Date
    Jun 2007
    Posts
    278
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Epic hehe

  7. #7
    Pala_BE's Avatar Member
    Reputation
    6
    Join Date
    May 2008
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this +rep

  8. #8
    t1mPan's Avatar Active Member
    Reputation
    45
    Join Date
    Aug 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you!, had no clue and this is truelly awsome! <3
    CAPS LOCK IS THE BEST CC EVA!

  9. #9
    carma12's Avatar Active Member
    Reputation
    47
    Join Date
    Sep 2007
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Black Gull View Post
    If you prefer an interface, Addon Control Panel does it same :P
    I tested Addon Control Panel a few minutes ago and I have to say that it's a really great addon. It has the same functions as Ampere but in addition some profiling-/set-options.+Rep

    Downsides are:
    - you can't access it as fast as a good positioned macro
    - you can _only_ have 10 sets + 1 per class(should be enough, but who knows)

  10. #10
    Restinpeace's Avatar Member
    Reputation
    2
    Join Date
    Jul 2007
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ACP works good but I perfer to use LoadIT (continued) - Addons - Curse.

  11. #11
    sasoritail's Avatar Contributor
    Reputation
    161
    Join Date
    Sep 2008
    Posts
    655
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks alot!!
    +Rep
    It's been a while

  12. #12
    Creed's Avatar Active Member
    Reputation
    39
    Join Date
    Jan 2007
    Posts
    133
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    LoadIT (continued) - Addons - Curse

    With a UI. Much easier to use imo.



  13. #13
    bouncer18's Avatar Member
    Reputation
    7
    Join Date
    Sep 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks


    makes life easier

Similar Threads

  1. M0l10 wow-chat color macro or addon.
    By scps in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 01-05-2014, 05:01 PM
  2. [macro]Leave bg without deserter
    By woyoulai in forum World of Warcraft Exploits
    Replies: 33
    Last Post: 09-19-2008, 02:45 AM
  3. Arena macros and addons
    By Jeesk in forum WoW UI, Macros and Talent Specs
    Replies: 0
    Last Post: 05-19-2008, 02:50 AM
  4. Shin's PvP Warlock Guide to Macros and Addons
    By Nemonik in forum WoW UI, Macros and Talent Specs
    Replies: 8
    Last Post: 03-02-2008, 08:23 AM
All times are GMT -5. The time now is 04:42 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search