[Classic] Bartender custom conditional using mouse buttons

I’m trying to use bartender’s custom conditionals function to change the page on my main bar when I press a button on my mouse. Using modifier keys like control or alt, as shown below works perfectly, in conjunction with stance based swapping

[overridebar][possessbar][shapeshift]possess;[mod:ctrl]1;[bonusbar:1]7;[bonusbar:2]8;[bonusbar:3]9;0

however, if I change

[mod:ctrl]1

to

[button: 5]1

it doesn’t work. Is this a limitation of bartender? I’d really like to be able to switch the bar’s page while I hold my mouse button. If bartender cannot do it is there a way to accomplish this without bartender?

Does [button:5] work in a /cast macro? If not it’s a limitation of Blizz’s API.

I use a program called X-Mouse Button Control to remap mouse buttons 4 and 5 to shift and alt.