For checking when you have a particular day free next, select a day of the week, and how many weeks to look ahead and the Shortcut returns your schedule for all those particular days. Just swipe between each day to see when you might have a gap in your schedule.
What's New
Version 1.0
First release
What it does
43 actions-
Text
-
Get Dictionary from Input
-
Set VariableOutputKit
-
List
-
Choose from List
-
Date
-
Set VariableDate
-
Ask for InputNo of weeks?
-
Repeat
-
Get Variable
-
Adjust Date
-
Set VariableDate
-
Format Date
-
Text
-
Text
-
Find Calendar Events
-
Count
-
Get Variable
-
Repeat with Each
-
Text
-
Add to Variable
-
Find Calendar Events
-
Count
-
Get Variable
-
Repeat with Each
-
Text
-
Add to Variable
-
Find Reminders
-
Count
-
Get Variable
-
Repeat with Each
-
Text
-
Add to Variable
-
Text
-
Text
-
Set Name
-
Add to Variable
-
Nothing
-
Set VariableAllDay
-
Set VariableReminders
-
Set VariableAppointments
-
Get Variable
-
Quick Look
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#include 'actions/calendar'
#define color darkblue
#define glyph calendar
getDictionary(nil)
@OutputKit = nil
list("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday")
chooseFromList(nil, "Which day")
currentDate()
@Date = nil
const AskForInput = prompt("No of weeks?", "Number")
repeat _ for AskForInput {
// TODO: Get Variable not supported: Assign variable here to '@Date'.
adjustDate("", "")
@Date = nil
formatDate("")
rawAction("is.workflow.actions.filter.calendarevents", {
"WFContentItemFilter": ""
})
count(nil, "Items")
// TODO: Get Variable not supported: Assign variable here to 'CalendarEvents'.
for _ in nil {
@AllDay += "{@RepeatItem2['Title']} {@OutputKit['badgegray']}{@RepeatItem2['Calendar']}{@OutputKit['/badge']}\n<br>\n"
}
rawAction("is.workflow.actions.filter.calendarevents", {
"WFContentItemFilter": ""
})
count(nil, "Items")
// TODO: Get Variable not supported: Assign variable here to 'CalendarEvents1'.
for _ in nil {
@Appointments += "{@RepeatItem2['Start Date']} - {@RepeatItem2['End Date']} {@RepeatItem2['Title']} {@OutputKit['badgegray']}{@RepeatItem2['Calendar']}{@OutputKit['/badge']}<br>"
}
rawAction("is.workflow.actions.filter.reminders", {
"WFContentItemFilter": ""
})
count(nil, "Items")
// TODO: Get Variable not supported: Assign variable here to 'Reminders'.
for _ in nil {
@Reminders += "{@RepeatItem2['Due Date']} - {@RepeatItem2['Title']} {@OutputKit['badgegray']}{@RepeatItem2['List']}{@OutputKit['/badge']}<br>"
}
setName(nil, "{}.html")
@Output = nil
nothing()
@AllDay = nil
@Reminders = nil
@Appointments = nil
}
// TODO: Get Variable not supported: Assign variable here to '@Output'.
quicklook(nil)
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 entee
You Might Also Like
Advertisement