Searching Omnifocus direct from Alfred

Posted by Rhyd Lewis on May 29, 2015 · 1 min read

I spend too much time searching for stuff in Omnifocus. Whilst I can use ⌘-O to search for projects and folders within Omnifocus itself, searching for tasks is not so easy. I can’t quickly search using the search field because OmniFocus restricts the results to the current perspective or selection.

As a workaround, I’ve written a workflow that allows you to search for tasks and projects directly from Alfred. It allows you to:

  • Search for all tasks within OmniFocus (irrespective of status) with the keyword .s
  • Search the OmniFocus inbox with .i
  • List everything in the Inbox with .li
  • Search just for active tasks with .sa
  • Search for projects with .p

Selecting one of the results Alfred shows should display that task or project in Omnifocus (assuming your View options are set to show them).

Download

You can download the workflow from GitHub or from Packal (although, at the time of writing, Packal is showing an out of date version).

Notes