- Code: Select all
[i] -- Make a new Time Date Action to begin the wake up sequence
make new time date action with properties {name:"Wake Up Sequence", description:"Wake Up Sequence", time trigger type:absolute, date trigger type:absolute, absolute trigger time:PreWakeUpDate, days of week:"1111111", auto delete:true}
tell first action step of time date action "Wake Up Sequence"
set action type to modifyVariable
set variable name to "Bedtime"
set variable value to "No"
end tell
[/i]
So when it hits the PreWakeUpDate (date/time) the schedule fires and sets the Variable Bedtime to "No" and the other triggers take over. In the mean time, I guess I could create a polling schedule that runs every 30 secs and checks if the current time equals "PreWakeUpDate", but is there any way yet to create schedules in Python with 7.4? Its been a hold out for some time and still says unimplements in the IOM? Anyone found other work arounds?