Lingo Dictionary > O-R > restart |  |

restart

Syntax

    restart

Description

Command; closes all open applications and restarts the computer.

This command is disabled in Shockwave and whenever `the safePlayer` is set to `TRUE`.

Example

This statement restarts the computer when the user presses Command+R (Macintosh) or Control+R (Windows):

    if the key = "r" and the commandDown then restart

See also

`quit`, `shutDown, safePlayer`