Read calendar events, and read and change reminders, from the macOS Calendar and Reminders
databases (EventKit).
Events need full access to calendars: call hs.permissions.requestCalendars() to ask for it,
and hs.permissions.checkCalendars() to see whether it has been granted. Reminders need access
to reminders, from hs.permissions.requestReminders() and hs.permissions.checkReminders().
Every method here throws (or, for one that returns a Promise, rejects) while the access it
needs hasn't been granted.
Events are HSCalendarEvent objects, and reminders are HSReminder objects.
Read calendar events, and read and change reminders, from the macOS Calendar and Reminders databases (EventKit).
Events need full access to calendars: call
hs.permissions.requestCalendars()to ask for it, andhs.permissions.checkCalendars()to see whether it has been granted. Reminders need access to reminders, fromhs.permissions.requestReminders()andhs.permissions.checkReminders(). Every method here throws (or, for one that returns a Promise, rejects) while the access it needs hasn't been granted.Events are
HSCalendarEventobjects, and reminders areHSReminderobjects.Finding meeting links for today
Adding a reminder and ticking it off