Set an alarm 1 hour before you’re first event on your calendar for tomorrow If you want to change the time before the event just change the adjust date time, hours minutes or seconds it up to you.
What's New
Version 1.0
First release
What it does
9 actions-
CommentCreated by Tony Dudley @TonyJDudley U/ tonyguitars
-
Get Upcoming Events
-
Choose from List
-
Get Dates from Input
-
Text
-
Adjust Date
-
Format Date
-
Create Alarm
-
Choose from List
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color green
#define glyph alarmClock
/*
Created by Tony Dudley
@TonyJDudley
U/ tonyguitars
*/
rawAction("is.workflow.actions.getupcomingevents", {
"WFDateSpecifier": "Tomorrow"
})
chooseFromList(nil, "Here is your first event for tomorrow ", true)
getDates(nil)
adjustDate("", "")
formatDate("", "None")
rawAction("is.workflow.actions.alarm.create", {
"WFLabel": "Pre event timer tomorrow ",
"WFTime": "{}"
})
chooseFromList(nil, "Check to confirm time set", true)
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by tonydudley
You Might Also Like
Advertisement