Log Apple Reminders to Day One

For the last six months I’ve been experimenting with ways to use Day One as daily logbook. One of the most powerful tools for doing this is Brett Terpstra’s Slogger script, but that pulls exclusively from social networks (hence the name). I wrote a little script to pull from the Reminders app on my laptop and create a time-stamped entry containing all of the things I’ve crossed off for the day. Because iCloud keeps Reminders in sync across your devices, you can mark tasks complete on your iPhone and they will seamlessly sync back to the desktop client and get picked up.

The script is based on two others, one by Samantha Hilton here, and another by Nick Morris here. I basically combined these approaches to find all the Reminders that were completed today and then push them to a single Day One entry using the Day One CLI Tool. If you save this script as an application, you can then use a utility like Lingon to schedule it to run every night.

You can find the script here.

If everything goes according to plan, it should look like this:

I put this together pretty quickly, and would love to find a more elegant solution for repeating these actions across multiple lists without copying and pasting the entire main block of code, which is what I suggest in the script comments (and what I’m actually doing in practice). If you have any ideas, feel free comment here or directly on the Gist.



comments powered by Disqus