Oct 12, 2018
danielbahl
Cool! Thanks for uploading 🎉
After you get your haircut, you usually schedule your next one when you pay
After you get your haircut, you usually schedule your next one when you pay. Open this shortcut to select the date and time of your next appointment. You can customize how far in the future the shortcut will suggest your new haircut appointment. With only a few taps you have a new appointment in your calendar with a preset name and alert time.
First release
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 child
currentDate()
adjustDate("", "")
prompt("When would you like to schedule your haircut?", "Date")
adjustDate("", "")
rawAction("is.workflow.actions.addnewevent", {
"WFAlertTime": "2 hours before",
"WFCalendarItemCalendar": "Lewis Family",
"WFCalendarItemDates": true,
"WFCalendarItemEndDate": " {}",
"WFCalendarItemStartDate": "{}",
"WFCalendarItemTitle": "Haircut"
})
showInCalendar(nil)
// Made by Jeffrey Lewis @iamJeffreyLewis
Cool! Thanks for uploading 🎉