Name
EscapeQuit -- enable/disable quit with escape (V1.5)
Synopsis
EscapeQuit(enable)
Function
If you set enable to True the user will be able to press the escape key at any time and Hollywood will terminate your script. This is useful for presentations but not for applications with user input! If you are creating some kind of presentation with Hollywood, it is wise to use this function so that the user can quit at any time during your show. If you set enable to False, this feature will be disabled.

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