Skip to content

Instantly share code, notes, and snippets.

@jankeesvw
Created September 16, 2015 11:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jankeesvw/a99707953dc11abac526 to your computer and use it in GitHub Desktop.
Save jankeesvw/a99707953dc11abac526 to your computer and use it in GitHub Desktop.
Checklist.script
on alfred_script(q)
tell application "Things 2"
set listOfShows to {}
set Shows to paragraphs of (read POSIX file "/Users/jankeesvw/Documents/checklists/Podcast")
repeat with nextLine in Shows
set newToDo to make new to do with properties {name:nextLine} at beginning of project "Checklist"
set tag names of newToDo to "Podcast, Checklist"
end repeat
show project "Checklist"
end tell
end alfred_script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment