Here's another option for searching OmniFocus from outside of the program, this time using Alfred.
http://rhydlewis.net/blog/2015/5/29/searching-omnifocus-direct-from-alfred
It looks like the author has actually made some updates to the workflows available since writing the post. Here is a listing of all of the possible searches from Alfred:
http://rhydlewis.net/blog/2015/5/29/searching-omnifocus-direct-from-alfred
- .s - “Search OmniFocus”
- .sa - “Search OmniFocus for active tasks only”
- .g - “Search OmniFocus for flagged tasks only”
- .ga - “Search OmniFocus for flagged active tasks only”
- .p - “Search OmniFocus for Projects”
- .pa - “Search OmniFocus for active Projects”
- .lc - “List all OmniFocus Contexts”
- .c - “Search OmniFocus for Contexts”
- .i - “Search OmniFocus Inbox”
- .v - “Search OmniFocus for Perspectives”
- .lv - “List all OmniFocus Perspectives”
- .f - “Search OmniFocus for Folders”
- .lf - “List all OmniFocus Folders”