Name

events, eventstore.events, kPMRPCEventStoreEvents, kPMObserveEventStoreEvents — Available events that can be triggered or performed.

Synopsis

array of event structures eventstore.events( );

Description

Available events that can be triggered or performed.

events contains a list of scheduled events. The list has no specific order, and the order may change with each request.

When dealing with events, refer to specific events using the event's unique ID.

Returns

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

Observable

Changes to events can be observed, without polling, using eventstore.events, kPMObserveEventStoreEvents.

Security

events can be requested by any authenticated client.

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

Availablility

pmdctl

Examples

Example 52. C: eventstore.events

CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCEventStoreEvents);


Example 53. Objective-C: eventstore.events

DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCEventStoreEvents];


Example 54. AppleScript: eventstore.events

tell application "Power Manager Scripting"
    set myResult to events of Event Store
end tell


Example 55. Shell: eventstore.events

./pmctl eventstore.events