LeftMouseQuit(enable)
enable to True, your script will be terminated as soon
as the user presses the left mouse button.
True to enable left mouse quit, False to disable itLeftMouseQuit(TRUE) Repeat Wait(10) ForeverThe above code enters an endless loop which would normally block your program. But using
LeftMouseQuit(TRUE) allows the
user to terminate it.