Lingo Dictionary > S > shutDown

 

shutDown

Syntax

shutDown

Description

Command; closes all open applications and turns off the computer.

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

Example

This statement checks whether the user has pressed Control+S (Windows) or Command+S (Macintosh) and, if so, shuts down the computer:

if the key = "s" and the commandDown then
	shutDown
end if

See also

quit, restart, safePlayer