Skip to content

Instantly share code, notes, and snippets.

@dasevilla
Created September 17, 2013 21:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dasevilla/6601050 to your computer and use it in GitHub Desktop.
Create a task in Things from current Google Chrome tab
tell application "Google Chrome"
set theTab to active tab of first window
set theURL to the URL of theTab
set theTitle to the title of theTab
end tell
tell application "Things"
set newTodoName to "Review \"" & theTitle & "\""
set newTodo to make new to do at beginning of list "Inbox"
set name of newTodo to newTodoName
set notes of newTodo to "[url=" & theURL & "]" & theTitle & "[/url]"
set tag names of newTodo to "@web"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment