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.
Nyheder
Version 1.0
First release
Hvad den gør
43 handlinger-
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
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 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)
Å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 entee
Du vil måske også kunne lide
Annonce