The Omni Group Forums

The Omni Group Forums (
-   OmniFocus Extras (
-   -   Adding tasks from Ruby or YAML (

Martin Oldfield 2010-10-25 06:07 AM

Adding tasks from Ruby or YAML
Encouraged by Andy Schott's Safari to OmniFocus AppleScript example, I wrote a command line Ruby program to import tasks defined in YAML files.

For example:

% cat tasks.yml
- context: Administriva
due date: 2010-12-24
name: Blossom 2
note: Cherry 2
project: Auto
% of-import-yaml tasks.yml

You can get the software at [url][/url]

Importing tasks seems to be quite a common request here, so I thought I'd post this in case other people find it useful even though it's very rough and ready code.

RobTrew 2010-10-25 12:50 PM

Good piece of illustrative code - thank you !

turadg 2010-11-15 02:18 PM

Thanks much for this! My source was CSV instead of YAML so I wrote some Python code to transform it. I posted it here in case it's useful to anyone: [url][/url]

All times are GMT -8. The time now is 04:10 AM.

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