Autohotkey loop until keypressed


Jun 06, 2016 · How to make a message keep displaying until a button is pressed. Loop - keyboard hit. Microsoft Access / VBA Forums on Bytes. ... How to write a loop that would continue until a keyboard key is not hit. ... Do Until KeyPressed = True; It works right up until it's time to paste into the Notepad window. The script will alt-tab and just sit there in Notepad with a blinking cursor. If I wait until the script finishes and manually press Ctrl + v, the right stuff from Firefox gets pasted; so I don't think it's a clipboard issue or an issue with !{Tab}-ing between the applications. HyperSpin uses an optional AutoHotKey script as part of the front end, but I'm having trouble folding my code here into their existing behemoth of a script. BTW, something you might find useful. Assuming you'd like to limit the 5 key press code to just MAME, you can preserve the key's normal functionality in other software by placing this near ...