One spell per spec macro, how to make it work?

Made a mouseover macro for a Druid:

  • cast Stellar Flare on Balance spec (mouseover,harm)
  • cast Thrash on Cat spec (mouseover,harm)
  • cast Thrash on bear spec (mouseover,harm)
  • cast wild growth on resto spec (mouseover,help)

however, it did not work, my last 4 spec macro involving starfall/lifebloom etc. worked.

here is the macro:

#showtooltip
/cast [spec:1,talent:6/3,@mouseover,harm,nodead]Stellar Flare; [spec:2/3,@mouseover.harm.nodead]Thrash; [spec:4,@mouseover,help,nodead][help][spec:4]Wild Growth;[spec:1,talent:6/3]Stellar Flare;[spec:2/3]Thrash

how to make it work?

I see periods in spaces that I think you meant to have commas.

This should work the way you described:

#showtooltip
/cast [spec:1,talent:6/3,@mouseover,harm,nodead][spec:1,talent:6/3]Stellar Flare;[spec:4,@mouseover,help,nodead][spec:4]Wild Growth;[spec:2/3]Thrash

Thrash isn’t targeted, so you don’t need to mess with the mouseover for it.

You need to go harm mouseover, help mouseover, help, harm. Otherwise mouseover won’t have priority in both cases.
[added]
That said, given the spec conditions that’s probably superfluous. Which is why I prefer stance macros for Druids.
[/added]

#showtooltip
/cast [spec:1,talent:6/3,@mouseover,harm,nodead]Stellar Flare;[spec:4,@mouseover,help,nodead][spec:4,help]Wild Growth;[spec:1,talent:6/3]Stellar Flare;[spec:2/3]Thrash

Haven’t checked character limits, drop a ,nodead or two if it’s over.

Thanks! Very informative.