Show All ActionBars Macro

Just sharing this, as I spent a few days trying to figure this out. But here is a macro to “initialize” new characters with your action bars and edit mode layout.

/run MultiBarBottomLeft:Show()
/run MultiBarBottomRight:Show()
/run MultiBarRight:Show()
/run MultiBarLeft:Show()
/run MultiBar5:Show()
/run MultiBar6:Show()
/run MultiBar7:Show()
/run EditModeManagerFrame:SelectLayout(3)

Put this in a macro, and it will turn on all action bars 2-8, and will enable your edit mode layout. Just change the SelectLayout(#) to whatever number your layout is (it seems custom ones start at 3, at least that’s how mine were). I am an altoholic, and it was a hassle for me to go in, change my layout, and turn on all the bars, every…single…time. So hopefully this helps someone else out there. If these don’t work in the future, I unfortunately am not smart enough to figure out why XD.

Edit:
In my messing around, the multibar lines don’t need to be in any specific order(and aren’t in any particular order above), but sometimes it didn’t seem to work if I had the editmode line at the top, but I also use a lot of addons, so that could have also messed with things. I also reordered the macro to have it be in order of action bars.

For those who want it:
BottomLeft = ActionBar 2
BottomRight = ActionBar 3
Right = ActionBar 4
Left = ActionBar 5
5 = ActionBar 6
6 = ActionBar 7
7 = ActionBar 8

Edit #2:
Spelling mistake on first line of macro, mispelt “MultiBarBottomLeft”, it is now fixed and shouldn’t cause an error (my addon Bugsack kept yelling at me when I used it, but now it’s happy)

Edit#3: A better solution has been provided, thanks to Fizzlemizz!

This turns on all the action bars perfectly!

And use this one if you want to only turn on a few or certain ones!

3 Likes

After making some alts and using this macro, I have noticed the bars sometimes turn themselves off, as well as the check boxes not being ticked in the game options for action bars. On how to fix this, I am unsure, but if anyone has any input, please feel free to share it here.

You could try:

/run local p="PROXY_SHOW_ACTIONBAR_" local show=not Settings.GetSetting(p.."8"):GetValue() for i=2, 8 do Settings.GetSetting(p..i):SetValue(show) end

It’s a toggle based on bar 8 currently being shown or not.

You could probably add:

EditModeManagerFrame:SelectLayout(3)

to the end (without the /run) although that would be redunant after the first run (unless you wanted to select a different layout depending on shown or not)

If you just want a subset of bars you could use:

/run local bars, p={ 2, 3, 5, },"PROXY_SHOW_ACTIONBAR_" local show=not Settings.GetSetting(p..bars[1]):GetValue() for k,v in pairs(bars) do Settings.GetSetting(p..v):SetValue(show) end

Add/remove/change the numbers inside the brackets to reflect the desired bar numbers (comma separated).

2 Likes

I had found a macro on the forums similar to the one you mentioned on bar 8, being shown or not, and that one does work very well. But I was trying to condense turning on all the action bars in one macro, and both the one you mention and the one I found (it wasn’t much shorter) were too long for me to put into 1 macro for bars 2-8 =/.

But all that being said, the subset one you provided works like a charm! Thank you very much for sharing! It checks the boxes in the settings, which mine wasn’t doing, and one issue I ran into was bars turning off when changing specs, which so far I haven’t run into using your macro! Thank you again!

I’m not sure I understand as the first macro toggles all bars 2-8 and is only 150 characters long?

It only uses bar 8 to test if the bars are currenly shown or not.

2 Likes

My bad, I didn’t fully read the block, it looked similar to another one I found before. That is on me.

Okay! So all of that advice helps. I sure hope we’ll still have addon access to better improve the sizing and appearance. I remap EVERYTHING in the UI to help it make sense to my brain. I’ve learned over the years that maybe only 1% of us need the changes I make, but the game is practically unplayable otherwise.

Anyway…
Questions

  1. Is bar 5 only available by scrolling?
    If so, that sucks, but I can probably make it work with a lot of effort. I have 60 toons on my main account.
  2. Are we now limited to only 8 bars?
    I’m used to having 10 regular bars, not 8. Some of my toons, especially my druids, are going to be hard to fit into 8 bars. Hopefully we’ll be able to use addons that provide utility bars at least functional out of combat. Out of sight, out of mind, for me, so I really need almost everything out there in view, though not too cluttered. The standard UI is hellacious.

I should probably note that I used Bartender for 15 years or so, then finally let ElvUI handle action bars for the last three, in order to downsize memory load, further clean up the UI, and save brain cells.

You will probably be able to go back to Bartender while waiting to see what happens with Elv.

If I wanted to add the the run command for a subset of bars to a small addon, would you happen to know if that would be possible? I’d like to run this to automatically setup my bars on an alt. My only concern is that if I set it to run every time I logged on, then the command would toggle them on and off instead of just checking to make sure that they’re always on. If you’re not sure np, just wanted to check and see!

This will just turn bars on if they’re set to off.

local bars = { 2, 3, 5, }
local p = "PROXY_SHOW_ACTIONBAR_"
for k,v in pairs(bars) do
	if not Settings.GetSetting(p..v):GetValue() then
		Settings.GetSetting(p..v):SetValue(true)
	end
end

Thank you!