Name
LeftMouseQuit -- enable/disable left mouse quit
Synopsis
LeftMouseQuit(enable)
Function
If you set enable to True the user will be able to press the left mouse button at any time and Hollywood will terminate your script. This is useful for presentations but not for applications with user input! If you are doing 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 left mouse quit, False to disable it
Example
LeftMouseQuit(TRUE)
Repeat
  Wait(10)
Forever
The above code enters an endless loop which would normally block your program. But using LeftMouseQuit(TRUE) allows the user to terminate it.

Show TOC