Created
January 27, 2016 15:53
-
-
Save cdzombak/fb46bb83884edb4747b6 to your computer and use it in GitHub Desktop.
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 id "OOut" | |
try | |
set doc_name to name of front document | |
on error | |
activate | |
display alert "No Document Open" | |
return | |
end try | |
set selected_rows to selected rows of front document | |
if selected_rows is {} then | |
activate | |
display alert "No Rows Selected" | |
return | |
end if | |
repeat with r in selected_rows | |
set row_title to text of topic cell of r | |
set row_note to note of r | |
tell application "OmniFocus" | |
tell quick entry | |
make new inbox task with properties {name:row_title, note:row_note} | |
end tell -- new inbox task | |
end tell -- OmniFocus | |
end repeat | |
tell application "OmniFocus" | |
tell quick entry to open | |
end tell -- OmniFocus | |
end tell -- OmniOutliner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment