Login About Gallery
Work Calendar Alarms
TEXT
Work
NUMBER
90
CALENDAR
Find
All Calendar Events
where
All the following are true
Start Date
is in the next
1
day
Start Date
is greater than
Current Date
Title
contains
Sort by
Start Date
Order
Oldest First
Limit
CLOCK
Get all alarms
SCRIPTING
Repeat with each item in
Alarms
SCRIPTING
If
Repeat Item
is
Bedtime
Otherwise
CLOCK
Turn
alarm "
Alarm
"
End If
End Repeat
NOTIFICATIONS
Show notification
Input
Options Under Construction
SCRIPTING
If
Calendar Events
has any value
NUMBER
1
SCRIPTING
Repeat with each item in
Calendar Events
NUMBER
0
VARIABLES
Set variable
NoAlarm
to
Number
CALENDAR
Get
Start Date
from
Repeat Item
CALENDAR
Subtract
0
seconds
from
Start Date
VARIABLES
Set variable
ATime
to
Adjusted Date
VARIABLES
Set variable
Title
to
Repeat Item
CLOCK
Get all alarms
SCRIPTING
Repeat with each item in
Alarms
SCRIPTING
If
Repeat Item 2
is
Repeat Item
VARIABLES
Set variable
NoAlarm
to
Number
CLOCK
Turn
alarm "
Alarm
"
1
TEXT
Alarm
alarm enabled based on calendar; Alarm time is:
Repeat Item
; Work begins at:
Alarm
VARIABLES
Add
Text
to
AlarmsOn
Otherwise
NOTHING
Nothing
End If
End Repeat
SCRIPTING
If
NoAlarm
is
0
NUMBER
1
VARIABLES
Set variable
NoAlarm
to
Number
Error Loading Action
TEXT
Alarm
alarm enabled based on calendar; Alarm time is:
Repeat Item
; Work begins at:
Alarm
Enjoy your sleep!
VARIABLES
Add
Text
to
AlarmsOn
End If
End Repeat
TEXT
AlarmsOn
Otherwise
TEXT
No work tomorrow
End If
DOCUMENTS
Wait Until Finished
Rate
Pitch
Language
English (United States)
Voice
DOCUMENTS
Show
If Result
in Quick Look

Showcuts

Magic Vars

Screenshot

Submitted Anonymously a month ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0