I want to report a bug in the software based on below code. (totally simplyfied)
Basically the bug is this: Hold cursor right (or any key) and then throw a message(). Upon closure of the message the state is still on, even though you have released the key.
It does not process the release of the key, since message interrupts all flow (I assume).
Here is example code that gives the error with full instructions on how to reproduce the error.
Thanks for a great tool, so please see this not as criticism, but an effort to help make it even better.
counter = 0
press_key_message = 1
do
if press_key_message = 1 then print("Please press and hold cursor RIGHT key!")
if press_key_message = 2 then print("Cursor right is still active" + chr(10) + "until you press and release it again.")
key_state = GetRawKeyState(39)
if key_state = 1
print("Cursor right pressed!")
inc counter
endif
if counter = 50
message("Please RELEASE cursor RIGHT key; and do not touch anymore." + chr(10) + "Then click OK.")
press_key_message = 2
endif
Sync()
loop