Flash of Light / Word of Glory macro help

I would like to utilize a macro to cast word of glory if I have adequate holy power stacks, and cast flash of light if I don’t…

Could anyone help me set that up? Thanks!

I have been looking for the same and so far it would appear this is not possible, however. . . .

I’m assuming you are trying to reduce the number of keys you need and there is another option. You can make macros that use a damaging ability if the target is an enemy, otherwise cast a heal. Using this I bound Flash of Light to a holy power generator and Word of Glory to a holy power spender so the heals flow the same as the damage.

#showtooltip
/cast [harm]Blade of Justice;Flash of Light

#showtooltip
/cast [harm]Templar’s Verdict;Word of Glory

Downside is you can’t click the heal then select target if you are targeting an enemy. You have to select a friendly before you hit the key to heal, but if you’re okay with this it’s a great way to cut down on how many keys you have to use. And if you have no target, still functions as a heal, meaning you can key press then select friendly target (assuming auto self cast is off).