Scriptable and Reminders

question

#1

I am interested in automating my use of IOS reminders. In doing so I am curious if Scriptable allows the update of a reminder, something that is not possible with native shortcuts. Has anyone discovered if this is possible?


#2

It appears to - have a look at the Reminder object in the documentation.


#3

Does anyone know of an example script that updates current reminders out there? I’d like to start with that and see if I can butcher it up to accomplish what I want. The goal is to remove a specific #tag from the notes section of any reminders it appears in.


#4

This should work, but I haven’t tested it:

let all = await Reminder.all();
for (let r of all) {
    // do what you want to do
    r.save();
}