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.
Nouveautés
Version 1.0
First release
Ce qu’il fait
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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)
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de entee
Ça pourrait aussi te plaire
Publicité