I use taskpaper for tasks, but Reminders for recurring tasks. I am intrigued by the idea of using pythonista to load recurring tasks due today into taskpaper every morning.
I have found this pythonista script
todo = reminders.get_reminders(completed=False)
for r in todo:
print('[ ] ' + r.title)
done = reminders.get_reminders(completed=True)
for r in done:
print('[x] ' + r.title)
Which seems like a good starting point, but a) I don't know pythonista, and I don't understand the data structure of Reminders.
So even when I changed the line
' + r.title)
' + r.title + ' ' + r.due_date)
it gives me incomprehensible error messages.
I am very willing to learn how to do this, but can anybody one help with these questions?
Is this a good idea, and has anyone done it already?
what is the data structure for a Reminder?
how can I filter on items due by tonight at midnight?
There is a sister workflow, Select Archive, that selects the archived tasks at the bottom of the original file In case you wish to delete them. However, it leaves the deletion step itself to the user as a safety precaution.
But when the same steps are included at the end of a longer workflow, the longer workflow opens the document, selects the entire document, but then fails to find the archive: line. It leaves the entire document selected, but greyed out, not blue. I think that means something, not sure what.