How select all, divid by 2 and invert pan?

Just a little thread to know if it's possible to do that :

I have 10 fixtures and i want to :

select all
divid my selection by 2
invert (only) the pan

and put all of this in a macro or button or...? to be more faster

thank's
Related