Name

action shut down, actionshutdown, kPMActionActionShutDown — Shut down the computer.

Synopsis

action shut down structure { type };
type : string, choice

Description

Shut down the computer.

If the computer is powered on and awake, shuts down the computer. The next action will not be performed until the computer next wakes up or powers on.

The shut down process will quit all running applications and processes. Any logged in users will be logged out as part of the shut down process.

An action warn must be performed before shutting down. This action may cause data loss where open documents contain unsaved changes.

Fields

type. Type of action to perform.

type is a string. type must be shut down, kPMActionType_ShutDown.