Name

active, scheduler.active, kPMRPCSchedulerActive, kPMObserveSchedulerActive — Active events.

Synopsis

array of s scheduler.active( );

Description

Active events.

events whose criteria are being evaluated, or whose actions are being performed.

Returns

active is an array of active event structures. Each item in active must be unique.

Observable

Changes to active can be observed, without polling, using scheduler.active, kPMObserveSchedulerActive.

Security

active can be requested by any authenticated client.

Unauthenticated clients are authorized using the uk.co.dssw.powermanager.scheduler.active right. By default, any local process can request active.

Availablility

pmdctl

Examples

Example 114. C: scheduler.active

CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCSchedulerActive);


Example 115. Objective-C: scheduler.active

DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCSchedulerActive];


Example 116. AppleScript: scheduler.active

tell application "Power Manager Scripting"
    set myResult to active of Scheduler
end tell


Example 117. Shell: scheduler.active

./pmctl scheduler.active