Created
February 19, 2014 22:07
-
-
Save bradwright/9102690 to your computer and use it in GitHub Desktop.
Send current Chrome tab to OmniFocus
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
on run {input, parameters} | |
tell application "Google Chrome" | |
set theName to title of active tab of front window | |
set theUrl to URL of active tab of front window | |
tell application "OmniFocus" | |
set theTask to theName | |
set theNote to theUrl | |
tell quick entry | |
set NewTask to make new inbox task with properties {name:theTask, note:theNote} | |
select {NewTask} | |
open | |
end tell | |
tell application "System Events" | |
keystroke tab | |
end tell | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment