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
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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 🎉