Name

condition start up, conditionstartup, kPMConditionConditionStartUp — Conditional on time since start up.

Synopsis

condition start up structure { invert, type, seconds };
invert : boolean, default, optional
type : string, choice
seconds : integer, default, range 60..n

Description

Conditional on time since start up.

start up tests if enough time has passed since the computer started up.

Fields

invert. Invert the condition's conclusion.

Conditions are designed to positively identify specific states. Many events will want a condition to confirm that a specific state is not occuring. To reverse the role of a positive condition, use the invert field.

If a condition is true, and the invert field is set, the condition will invert the true and return false.

If a condition is false, and the invert field is set, the condition will invert the false and return true.

invert is a boolean. If invert is omitted, the default false is used. invert is optional.

type. Type of condition to test.

type is a string. type must be start up, kPMConditionType_StartUp.

seconds. Seconds elapsed since start up.

seconds is an integer. If seconds is omitted, the default 300 is used. seconds must be more than or equal to 60.