Thread: Import from CSV
View Single Post
I sometimes plan work in a spreadsheet, for example if I'm setting tasks with someone remotely over Google Docs. Then I want to get them into Omnifocus.

If I were better at AppleScript I might grab the spreadsheet and push it into Omnifocus, but I'm not. So I was happy to find Martin's Atelier's script in Ruby for importing tasks into OmniFocus. That takes a YAML list of dictionaries for properties of the task.

I'm not great at Ruby either, so I wrote some Python to read the spreadsheet table and make suitable YAML for use by Martin's script. I'm attaching it in case it's useful to anyone. (Omni disallows Python code uploads to it has .txt appended to the filename.)
Attached Files
File Type: txt make-omnifocus-yaml.py.txt (1.2 KB, 506 views)