This is a legacy guide for Power Manager v3, published 2005 – 2010, and is provided for reference only.
The latest guide is for Power Manager v5.10.4.

Sample Script - Weekday to Everyday Events

You have a schedule suitable to weekdays but you want to extend the daily tasks to everyday.

The script below makes every daily Event trigger on every day of the week.

tell application "Power Manager Scripting"
    tell scheduler
    	-- Walk through all the daily events
    	repeat with thisEvent in (every PMEvent whose type class of trigger is daily)
    		-- Copy the event properties
    		set myEvent to properties of thisEvent
    		set trigger of myEvent to properties of trigger of myEvent
    		set action of myEvent to properties of action of myEvent
    		-- Modify the daily event
    		set days of trigger of myEvent to [monday, tuesday, wednesday, thursday, friday, saturday, sunday]
    		-- Add the modified event (replaces the previous instance)
    		add event myEvent
    	end repeat
    end tell
end tell