Here is an example from docs:
But, from my point of view, it's simply misleads. If you change the key in 2nd line to something different ("z"), the message box still will be shown:
From my point of view, this example probably will be better:
And here is the quote about the possibe problem with original example:
camerb (moderator) wrote:Yeah, I've heard of this mistake being made before... perhaps the docs need to have a note in there about how it waits for the key to be in the up state, rather than an up action.
Source: https://autohotkey.com/board/topic/6648 ... /?p=420580
So, is my example is really correct and example in docs isn't correct?
And also, how I could change my example in this way? :