Hi everyone. I've written some code for a GUI with two buttons, a RUN button that hanges to PAUSE on press and a STOP button which exit the script. When the buttons are pressed they trigger a hotkey whcih then triggers the desired function. This script works fine if you press the hotkeys or if the RUN button is clickd but it gets stuck in a loop whenever the PAUSE button is clicked. Does anyone know why this happens and how I can fix it? #include <GUIConstantsEx.au3> ;For GUI Glo