Name

action await sleep, actionawaitsleep, kPMActionActionAwaitSleep — Wait for the computer to sleep.

Synopsis

action await sleep structure { type };
type : string, choice

Description

Wait for the computer to sleep.

The next action will not be performed until the computer is about to sleep.

Fields

type. Type of action to perform.

type is a string. type must be await sleep, kPMActionType_AwaitSleep.