Created
October 22, 2011 21:40
-
-
Save joshbetz/1306522 to your computer and use it in GitHub Desktop.
Import todo.txt file to Omnifocus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment