I made one strict ahk v2 script with an animation cancelling feature. I posted it on the ahk forum but have no time to explain many of the features, you can try it out
here.
I'll make an updated version recently, and then elaborate on the usage and post it on this forum.