Someone in another thread asked for that same kind of macro-functionality and most respondents eviscerated him for even considering to use macros in his dps rotation. While there's some truth to the criticisms, there was also a good deal of hate put forward.
A few tried to actually create the desired macro for the person. I pasted my attempted below.
Not as elegant as I would like since it requires 2 separate macros and 2 hotbars.
This assumes that you are putting the 1st ability macro on hotbar 1, because that's the one that can be rotated to show a different hotbar without changing position. Not sure if this will work if you are using a different hotbar
1st Macro "Test1"
Code:
/micon "True Thrust"
/ac "True North" <me>
/hotbar change 2
2nd macro "Test2"
Code:
/micon "True Thrust"
/ac "True Thrust" <t>
/hotbar change 1
NOTE: could also have used "hotbar change next" and "hotbar change prev" if you are switching between hotbar 1 and 2
You basically have 2 hotbars that are identical except for the spot you put the macro. On one bar you put Test1 and the other you put Test2. They will not flip bars every time you hit the keyboard # its assigned to. The downside is you're basically using 2 bars to do this and if the spell can't be cast just yet, it still flips. Also if you have "happy fingers" and repeatedly press a button when trying to activate this ability, you may end up on a random bar showing.