Doesn't that script force the action bar to change? Ie Button 2 of actionbar 1 then Button 3 of actionbar 2, etc...

I was more looking at a Macro idea that would allow me to place spells on say the right vertical action bar, and then activate them in sequence with the above idea pressing them in a 1-5 sequence using

/click MultiBarRightButton# (where # is the variable from the count).