Scripting the Scheduler
Start the Scheduler
Start the Scheduler queuing and performing Events.
| Line | |
|---|---|
| 1 | tell application "Power Manager Scripting" |
| 2 | tell scheduler to set enabled to true |
| 3 | end tell |
Stop the Scheduler
Stop the Scheduler. Stops Events being queued and performed.
| Line | |
|---|---|
| 1 | tell application "Power Manager Scripting" |
| 2 | tell scheduler to set enabled to false |
| 3 | end tell |
Toggle the Scheduler's State
Toggle the Scheduler's start/stop state.
- If the Scheduler is running, stop performing Events.
- If the Scheduler is stopped, start performing Events.
| Line | |
|---|---|
| 1 | tell application "Power Manager Scripting" |
| 2 | tell scheduler to set enabled to (not enabled) |
| 3 | end tell |
- Previous: Scripting Build and Licence Details
- Next: Scripting the Events