Name
EscapeQuit -- enable/disable quit with escape (V1.5)
Synopsis
EscapeQuit(enable)
Function
If you set enable to True, pressing the escape key will immediately terminate your script.

Inputs
enable
True to enable escape quit, False to disable it
Example
EscapeQuit(TRUE)
Repeat
  Wait(10)
Forever
The above code enters an endless loop which would normally block your program. But using EscapeQuit(True) allows the user to terminate it.

Show TOC