off the top of my head, this should work:

macro1:
/Click ActionButton1
/Click ActionButton2
/Click ActionButton3
/Click ActionButton4
/Click ActionButton5

macro 2
/castsequence reset=alt [target=party1, exists,nodead] cleanse,,,,
macro 3
/castsequence reset=alt [target=party2, exists,nodead] ,cleanse,,,
macro 4
/castsequence reset=alt [target=party3, exists,nodead] ,,cleanse,,
macro 5
/castsequence reset=alt [target=party4, exists,nodead] ,,,cleanse,
macro 6
/castsequence reset=alt [target=party5, exists,nodead] ,,,,cleanse

each keypress it will jump to the next partymember (or replace partyX with the actual name of the toon), and when using alt it will reset