Created
July 12, 2011 01:05
-
-
Save rfbrazier/1077160 to your computer and use it in GitHub Desktop.
Create an OmniFocus task from the current URL of the active 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 theTitle to title of active tab of front window | |
set theURL to URL of active tab of front window | |
end tell | |
tell application "OmniFocus" | |
set theDoc to default document | |
set theTask to theTitle | |
set theNote to theURL | |
-- comment out the whole tell quick entry block if you want tasks to go straight to inbox | |
tell quick entry | |
open | |
set NewTask to make new inbox task with properties {name:theTask, note:theNote} | |
activate | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment