you could use the following

Mage:
Code:
/cast [target=party] Arcane Intellect
Priest
Code:
/cast [target=party] Fortitude
the target=party should cycle through all party members.

Personally, with my pally / druid / Shammy combo I use the F1 to F5 keys to individually select each member then have [target=focus], if you have pet classes, a 2nd press on the party member select Function key will select their pet