Skip to content

Instantly share code, notes, and snippets.

@brandonpittman
Created April 30, 2019 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonpittman/e724edaa3c8788c12a01ef50d66c84de to your computer and use it in GitHub Desktop.
Save brandonpittman/e724edaa3c8788c12a01ef50d66c84de to your computer and use it in GitHub Desktop.
Open and Complete for Things 3
on run
tell application "Things3"
repeat with todo in selected to dos
set completion date of todo to (current date)
set theNotes to notes of todo
repeat with todoParagraph in paragraphs of theNotes
if todoParagraph contains "://" then
do shell script "open " & quoted form of todoParagraph
end if
end repeat
end repeat
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment