Need macro help

Hello.
I am trying to get a simple macro working but its being a bit stubborn. I was hoping to get some help.

#showtooltip
/cast [modifier:alt.] Greater Invisibility
/cast [modifier:shift.] Alter Time
/cast Shimmer

The problem im having is with shimmer and alter time. Both those spells are off the GCD. If I attempt to cast either of the mods it will also cast shimmer. If i attempt to cast alter time it will likewise use shimmer.

Ive attempted /stopcasting but it didnt fix the issue. Not even sure it would work for an instant spell.

Is there a way to keep those two spells from going off unintentionally?

Your mods are wrong cuz of the periods

#showtooltip
/cast [mod:alt,known:110959] Greater Invisibility; [mod:shift,known:342245] Alter Time; Blink

Im not home to edit it, but hopefully that works.

The macros does function with those periods though. Or at least it does with any combo of skills on a GCD.

Ill post back when i can try it out.

Thank you!