Login About Gallery
Calendar Alarms
CALENDAR
Find
All Calendar Events
where
All the following are true
Start Date
is today
Start Date
is greater than
Current Date
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
Get
End Date
from
Repeat Item
CALENDAR
Subtract
30
minutes
from
Start Date
CALENDAR
Find
All Calendar Events
where
All the following are true
Start Date
is today
End Date
is between
Adjusted Date
and
Start Date
Sort by
Start Date
Order
Oldest First
Limit
SCRIPTING
If
Calendar Events
does not have any value
CALENDAR
Subtract
5
minutes
from
Start Date
VARIABLES
Set variable
ATime
to
Adjusted Date
CALENDAR
Get
Title
from
Repeat Item
VARIABLES
Set variable
Title
to
Title
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
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
VARIABLES
Add
Text
to
AlarmsOn
End If
End If
End Repeat
Otherwise
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
End If
TEXT
Alarms enabled based on calendar events:
AlarmsOn
SCRIPTING
Show
Text
CALENDAR
Get
Detail
from
Text

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 2 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0