Autohotkey loop until keypressed


In Autohotkey, I want the key pressed to serve its original purpose, while executing some additional functions. For example, upon pressing "^a", I'd like the "^a" to function as normal (e.g. Selec... Note that there is a similarly named boolean variable called keyPressed. See its reference page for more information. Mouse and keyboard events only work when a program has draw(). Without draw(), the code is only run once and then stops listening for events. Syntax: keyPressed() keyPressed(event) button stops loop. C# / C Sharp Forums on Bytes. Hello You need to run your loop in a separate thread and check something like May 29, 2008 · Loop infinate then break when key pressed. Sign in to follow this . ... I want this function to LOOP INFINITE until i send a certain key. Please. Im new. raw download clone embed report print Autohotkey 2.61 KB ... loop until the waypoint screen is up - again should probably check multiple colours here for a more ...