Skip to content

Instantly share code, notes, and snippets.

@KingOfSpades
Last active March 31, 2021 22:33
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 KingOfSpades/ecd859929accf55ace562657551ae69a to your computer and use it in GitHub Desktop.
Save KingOfSpades/ecd859929accf55ace562657551ae69a to your computer and use it in GitHub Desktop.
Adding ToDo from Things3 to Fantastical
(*
Purpose: Add a selected ToDo to Fantastical
2021-03-25:
- Initial version
*)
on run
tell application "Things3"
set title to name of selected to dos
set description to notes of selected to dos
set eventLength to " 1 hour"
set input to (title & eventLength) as string
tell application "Fantastical"
parse sentence input notes description
end tell
end tell
end run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment