Sleep Well Calendar Tomorrow
This shortcut returns results from your calendars that occur 'Tomorrow'
aylwardreedScan med din iPhone for at installere
This shortcut returns results from your calendars that occur 'Tomorrow'.
It is meant to be used as part of iOS 14's Wind Down feature.
Visit smallbites.me/creating-ios14-wind-down-shortcuts/ for full details as to how this works.
Created by Jonathan Reed
@aylwardreed
Nyheder
Version 1.0
First release
Hvad den gør
11 handlinger-
CommentThis shortcut returns results from your calendars that occur 'Tomorrow'. As it is meant to be used as part of iOS 14's Wind Down feature, 'tomorrow' means the next day. For example, it will return the same results if you access it at 10pm at night o…
-
Date
-
Adjust Date
-
Adjust Date
-
Get Upcoming Events
-
If
-
Choose from List
-
If
-
Choose from Menu
-
Choose from MenuNo events tomorrow!
-
Nothing
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/calendar'
#define color orange
#define glyph bed
/*
This shortcut returns results from your calendars that occur 'Tomorrow'.
As it is meant to be used as part of iOS 14's Wind Down feature, 'tomorrow' means the next day. For example, it will return the same results if you access it at 10pm at night or at 2am in the morning.
It is set to 'All Calendars' and 10 events. If you normally have more events increase the amount. If you want to only return results from certain calendars add a filter events action after the 'Get 10 events' action. Then change the magic variables in the two scripting actions to THAT result variable.
Created by Jonathan Reed
www.smallbites.me
@aylwardreed
Visit smallbites.me/creating-ios14-wind-down-shortcuts/
*/
currentDate()
adjustDate(, "Add")
adjustDate(, "Get Start of Day")
rawAction("is.workflow.actions.getupcomingevents", {
"WFDateSpecifier": "Specified Day",
"WFGetUpcomingItemCount": 10,
"WFSpecifiedDate": "{}"
})
if UpcomingEvents {
chooseFromList(UpcomingEvents, "Here's what's happening tomorrow")
} else {
menu nil {
item "No events tomorrow!":
}
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra aylwardreed
Du vil måske også kunne lide
Annonce