Contextual alarm
CALENDAR
Find
All Calendar Events
where
Any of the following are true [{'class': 'filter-property', 'value': 'Start Date'}, {'class': 'filter-operator', 'value': 'is in the next'}, {'class': 'filter-benchmark', 'value': '24', 'glyph': '', 'UUID': ''}, {'class': 'filter-unit', 'value': 'hours', 'glyph': '', 'UUID': ''}] [{'class': 'filter-property', 'value': 'Calendar'}, {'class': 'filter-operator', 'value': 'is'}, {'class': 'filter-benchmark', 'value': 'Andy Work'}] [{'class': 'filter-property', 'value': 'Title'}, {'class': 'filter-operator', 'value': 'contains'}, {'class': 'filter-benchmark', 'value': 'Paramedic'}] [{'class': 'filter-property', 'value': 'Title'}, {'class': 'filter-operator', 'value': 'contains'}, {'class': 'filter-benchmark', 'value': 'All Levels'}] Get 1 File



Calendar Events
SCRIPTING
If
Calendar Events
has any value
CALENDAR
Get
Start Date
from
Calendar Events

Start Date
CALENDAR
Format
Start Date
Options Under Construction

Formatted Date
DOCUMENTS
Get text from
Calendar Events

Text
TEXT
Tomorrow you work at
Text
at
Formatted Date

Text
SCRIPTING
CLOCK
Turn
alarm "
Work @ 7 (1)
"
on
CLOCK
Turn
alarm "
Work @ 7 (2)
"
on
CLOCK
Turn
alarm "
Time to go!
"
on
TEXT
Okay, I'll wake you up no later than 5:30!

Text
MISSING
Donated Action
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
Otherwise
SCRIPTING
Choose from Menu

Menu Result
SCRIPTING
Yes

Menu Result
CLOCK
Turn
alarm "
Alarm
"
on
TEXT
I'll wake you up no later than 6!

Text
NOTIFICATIONS
Show notification
Input
Options Under Construction
MISSING
Donated Action
SCRIPTING
No

Menu Result
CLOCK
Turn
alarm "
{'formatKey': 'BED_TIME', 'bundleIdentifier': 'com.apple.mobiletimer-framework', 'bundleURL': 'file:///System/Library/PrivateFrameworks/MobileTimer.framework/'}
"
SCRIPTING
End Menu

Menu Result
SCRIPTING
End If

If Result
Showcuts