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

Open in Script Editor

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

Open in Script Editor

Toggle the Scheduler's State

Toggle the Scheduler's start/stop state.

Line  
1
tell application "Power Manager Scripting"
2
    tell scheduler to set enabled to (not enabled)
3
end tell

Open in Script Editor