EscapeQuit(enable)
enable to True, pressing the escape key will immediately
terminate your script.
True to enable escape quit, False to disable itEscapeQuit(TRUE) Repeat Wait(10) ForeverThe above code enters an endless loop which would normally block your program. But using EscapeQuit(
True) allows the
user to terminate it.