If the first line of a label is a remapping of a key, whenever a goto jumps to that label, the re-mapped key gets sent, even if the key isn't pushed.
In this case, the message box "2" should be sent regardless, but the Exit closes the script before the msgbox can be shown.
Sorry if this isn't a good description, this is my first time ever using the forum.
Code: Select all
Goto, Two
One:
MsgBox 1
Two:
a::Exit
MsgBox 2
return