Created
September 17, 2013 21:41
-
-
Save dasevilla/6601050 to your computer and use it in GitHub Desktop.
Create a task in Things from current Google Chrome tab
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
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