Just like the subject title says. I have a simple GUI with 2 buttons, Start and Stop. When I press the Start button, the loop will begin. When i press the Stop Button, it should immediately break out of the loop, and not wait till the current iteration is over or wait till it meets the Break
Code: Select all
Gui, Add, Button, x50 y50 w50 h20 gStart, Start
Gui, Add, Button, x+15 y50 w50 h20 gSTop, Stop
Gui, Show,w200 h100, Gui
;Something to stop the loop in Start label here?
If there is anyway to forcibly break out of the loop, I would be delighted to hear about it.