Is it possible to cast on self if target out of range and right click is held down?

Is it possible to cast on self if target out of range and right click is held down? Right now I have my macro as the following…

#showtooltip
/cast [@mouseover, help, nodead] [] Emerald Blossom

This works great except if I have a target selected and try casting on self by right clicking. It says target out of range and will not cast on self until I unselect my target.

If you have a valid target selected, and they’re not phased, it won’t cast on yourself, but you can setup a modifier to force self casting, traditionally alt.

#showtooltip
/cast [mod:alt,@player] [@mouseover,help,nodead] [] Emerald Blossom

How would you input right mouse button? My alt is used for push to talk?

[btn:2]

#showtooltip
/cast [btn:2,@player] [@mouseover,help,nodead] [] Emerald Blossom

Neither works if I have someone targeted