I've been having some trouble writing a macro that I want, and thought I'd ask for some help.
Essentially I want it to cast Moonfire/Sunfire on my focus target without dropping my current target. The problem I'm having is that the way I'm doing it, when I go into Solar Eclipse, thus MF turns into SF, I get a "spell not learned" error. I can't quite figure out how to avoid this issue that seems to be caused by the MF/SF switching.
I've tried using a /click command, but this seems to not work (or I am writing it incorrectly) with the "[target=focus,exists]" line of the macro, and I end up hitting the wrong targets and such. Also if it matters, I have MF/SF on the main action bar button #12 (the "=" key), keybound to F1.
Currently there is no way to make a macro cast Sunfire. Since it's not a spell you actually get in your spellbook, the game does not recognize /cast Sunfire. You pretty much have no real work around sadly.
You can try this:
#showtooltip moonfire /click ActionButton#
With the # replaced by the slot you have moonfire on, but I don't know for sure if you can use that in a focus macro.