This will save the order from the last totem cast in the sequence. It will place them 'out of order' (respective to the last totem placed) using the macro if you manually place a totem of the same elemental type. It isn't a big deal as it is a utility to hit 1 button versus 3 when constantly placing and replacing during encounters.
#showtooltip
/castsequence Wrath of Air Totem, Mana Spring Totem, Stoneskin Totem
#showtooltip
/castsequence Grace of Air Totem, Mana Spring Totem, Strength of Earth Totem
#showtooltip
/castsequence Windfury Totem, Mana Spring Totem, Strength of Earth Totem
Replace the spell name and rank number with any other. This type of setup allows you to cast heals on your target if you have no specific mouseover target. I consider it 'default functionality' in the sense that I can cast spells on my target while holding both mouse buttons down during precise movement. These will, however, work as mouseovers on things outside of your raid frames. This means that you can still target totems and pets, making you 'miss' a heal due to improper cursor placement.
#showtooltip Chain Heal(Rank 4)
/cast [target=mouseover,help] Chain Heal(Rank 4); [help] Chain Heal(Rank 4)
#showtooltip Lesser Healing Wave(Rank 7)
/cast [target=mouseover,help] Lesser Healing Wave(Rank 7); [help] Lesser Healing Wave(Rank 7)
#showtooltip Earth Shock
/stopcasting
/cast Earth Shock(rank 1)
#showtooltip Earth Shield(Rank 3)
/cast [target=mouseover,help]Earth Shield(Rank 3); [help] Earth Shield(Rank 3)
If you are running double on-use, be aware that this would only pop the first trinket.
/cast Nature's Swiftness
/use 13
/use 14
/cast [target=mouseover,help]Healing Wave(Rank 12); [help] Healing Wave(Rank 12);
Good for combining Rank 1 Healing Wave for Healing Way stacks with Lightning Bolt based on mouseover/target hostility.
#showtooltip Healing Wave
/cast [target=mouseover,help]Healing Wave(Rank 1); [help] Healing Wave(Rank 1); [harm, nodead] Lightning Bolt(Rank 12)
#showtooltip Cure Disease
/cast [target=mouseover,help]Cure Disease; [help] Cure Disease
#showtooltip Cure Poison
/cast [target=mouseover,help]Cure Poison; [help] Cure Poison
#showtooltip Gift of the Naaru
/cast [target=mouseover,help] Gift of the Naaru; [help] Gift of the Naaru
Be aware that this incurs global cd when in-combat. Only really useful on fights like Solarion or Tidewalker where switching between HW/LHW/Chain has merit.
#showtooltip
/equip [noequipped:Totem of Spontaneous Regrowth]Totem of Healing Rains
/equip [noequipped:Totem of Healing Rains]Totem of Spontaneous Regrowth