Skip to content

Instantly share code, notes, and snippets.

@joshbetz
joshbetz / Todo.txt to Omnifocus
Created October 22, 2011 21:40
Import todo.txt file to Omnifocus
set p to "<Path to todo.txt>"
set l to paragraphs of (do shell script "grep . " & p)
do shell script ">" & p
tell app "OmniFocus" to tell document 1
repeat with v in l
make new inbox task with properties {name:v}
end repeat
end tell