Name

action restart, actionrestart, kPMActionActionRestart — Restart the computer.

Synopsis

action restart structure { type };
type : string, choice

Description

Restart the computer.

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

An action warn must be performed before restart. 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 restart, kPMActionType_Restart.