Using /click

I know I can use /click to click another button from a macro but I can’t work out the button id for the second action bar.
I’ve done it in the past for the MultiBar’s but they’ve got longer names than will fit in my macro.

I found this list for numbering but it hasn’t helped.
I tried ActionBar# even though I was sure it wouldn’t work, it didn’t, so then I tried ActionSlot# and it didn’t either. Then I used the following script to find out the name:
/script print(GetMouseFocus():GetName())
It returns ActionButton1-12 for the second action bar but that’s because to see it I have to swap to that bar and then it’s, effectively, the first Action Bar. I tried 13-24, as the above URL indicates it should be that, but it didn’t work either.

Can it be done?

2 Likes

The Blizzard UI (default) hides half of the action SLOTS from direct view.

You click BUTTONS.

Depending on which action BAR is active in the multi-bar thingy, one BUTTON will activate different action SLOTS.

For this reason I generally recommend replacing the default UI button/bar set up with ElvUI (for other things as well) or Bartender 4 (for JUST the button/bar setup).

TL:dr

You don’t /click on an action SLOT, you click on an action BUTTON and those are not the same thing for about half of the action SLOTS in the default UI.

/fstack will let you mouseover ui elements to get their names.

1 Like

Well done lads, you’ve both told me something I’d already said in the first post.

I managed to fit it all in using MultiBarRightButton6 because Convoke the Spirits(Night Fae) is longer! I forgot it had (Night Fae) in the macro.

I found /fstack1 less than useful for getting a specific button but /script print(GetMouseFocus():GetName()) worked very well, however I never managed to work out what the buttons on bar two are.

1 Like

So what’s your question, can you /click buttons on bars that use Paging without having the 2nd page visible?

Lets start by making sure we’re talking about the same things as I might not have the correct names.

The default ActionBar goes from 1 to = and if you haven’t changed the bindings you can access five other bars with Shift+2-5 with 1 being the default.
In the game menu under Interface > ActionBars are four checkboxes.
Bottom Left Bar is bar 6
Bottom Right Bar is bar 5
Right Bar is bar 3
Right Bar 2 is bar 4

I can’t get it to work on ActionBar2, the only one of the default six, which isn’t duplicated by turning on the additional bars in the base UI.

I seem to be in the small, by perception, number of players who use the Shift+x bindings to use those other bars, I only have two showing by default and have mounts, hearths, buffs, macros and trade professions on the other bars.
For professions I just change bars and use the default 1 - = bindings to bring them up, other things like mounts I have a macro and I bound the specific bar/slot to a key.
H is for Horse so it summons my mount. Many years ago that was a macro with Hearthstone too but as they added more hearths that broke, they also added mounts with vendors on them too.
So I split them into two macros, J is for Journey and it takes me places!

I also have macros bound to keys on those bars too.
Spells I don’t need to see, I just know what the binding is and what it does.

Again, the default handling of action bars is a baroque, uninituitive mess.

Of the many complaints I have about the default UI, it’s top of my list.

I’d strongly recommend that you bail on trying to make sense of it, especially since you seem to be incapable of focusing your thoughts well enough to ask a discrete question.

That’s not a criticism. I’m an artistic type as well and I get a bit wordy when I’m trying to get information from folks.

From this jumble it looks like you’re asking how to directly address (with /click) the actions on Action Bar 2 discrete from how you would address them on Action Bar 1.

You can’t.

Period.

The BUTTONS are the same. The “bar swap” is a lie.

It doesn’t swap bars.

It just remaps the action SLOTS that are on the existing bar.

There is a macro command, /swapactionbar, that might help assuming you can do that, /click the button you want, and maybe put it back the way it was before (assuming you want that), but I seem to recall there being some issues with that back when I was playing with it (quite a long time ago - I gave up on it back then and went another way - bar mod addons).

Yeah, that’s action bar paging.

Like Phodge mentioned, I’d grab a bar mod like Bartender or Dominos and enable them as individual bars, then hide them via the visibility settings (you might also be able to enable click-through) and then you can /click <button name> like you would with any other bar.