Forums Forums Lazy Macros Difference between KeyPress and KeyRelease? Reply To: Difference between KeyPress and KeyRelease?

(Addon Dev)
Post count: 906

The devil is always in the detail.

KeyPress is prepended to every sequence line and KeyRelease is postpended. Every time you hit your macro the combination of those three sections is sent to WoW to execute and it will process through the lines execute u TIL it gets to a stuck point.

A stuck point occurs when you have the second GCD ability in that combination. This is why you don’t put GCD abilities in keyPress and this will block out the later parts of your macro.

Where this gets interesting is that if your GCD ability in the body is on cooldown or unavailable as it’s only attempted once GCD ability wow will still execute the KeyRelease part giving the appearance that it just did keyPress and KeyRelease simultaneously.

KeyRelease will work exactly as you are intending but you cannot the. Spam the macro but have to press on ability and gcd cooldowns

BattleNet: TimothyLuke#1860
WowLazyMacros/Curse/GitHub/WowInterface: TimothyLuke

Most Commonly Played Characters: