Lingo Dictionary > O-R > quit |  |

quit

Syntax

    quit

Description

Command; exits from Director or a projector to the Windows desktop or Macintosh Finder. This command is disabled in Shockwave and whenever `the safePlayer` is set to `TRUE`.

Example

This statement tells the computer to exit to the Windows desktop or Macintosh Finder when the user presses Control+Q in Windows or Command+Q on the Macintosh:

    if the key = "q" and the commandDown then quit

See also

`restart`, `shutDown, safePlayer`