Created
September 21, 2014 07:31
-
-
Save jiuks/b85a7dd667adc85334ee to your computer and use it in GitHub Desktop.
This file contains 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 POSIX path of "/Users/jonmead/Dropbox (Personal)/notes/todo.md" | |
set input_file to POSIX path of p | |
set l to paragraphs of (do shell script "grep . " & "\"" & input_file & "\"") | |
tell application "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