jxa

New Reminder Using JXA

Here is a quick code snippet for creating new Reminders in a specific list using JavaScript for Automation (JXA) in macOS.

var reminders = Application("Reminders");
var newReminder = reminders.Reminder({ name: "Title for reminder", body: "Notes for the reminder"});
reminders.lists.byName("List Name").reminders.push(newReminder);