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.
Novidades
Versão 1.0
First release
O que ele faz
43 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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)
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de entee
Você também pode gostar
Publicidade