Created
October 15, 2015 18:44
-
-
Save csexton/dd0b95956f7644d0efba 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
on handle_string(theString) | |
if theString is not "" then | |
tell application "OmniFocus" to parse tasks into default document with transport text theString | |
else | |
display notification "No string to work with." with title "LaunchBar" subtitle "Add to OmniFocus" | |
end if | |
end handle_string | |
on run {input, parameters} | |
tell application "OmniFocus" to parse tasks into default document with transport text input as string | |
display notification "Done" with title "LaunchBar" subtitle "Add to OmniFocus" | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment