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.
Neue Funktionen
Version 1.0
First release
Was er macht
43 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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)
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von entee
Das gefällt dir vielleicht auch
Werbung