The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Import from CSV (http://forums.omnigroup.com/showthread.php?t=18929)

turadg 2010-11-15 02:17 PM

Import from CSV
 
1 Attachment(s)
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 [URL="http://mjo.tc/atelier/2010/10/of-import-yaml.html"]script in Ruby for importing tasks into OmniFocus[/URL]. 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.)


All times are GMT -8. The time now is 05:25 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.