Implementation Details for OmniFocus 2.14 Automation

In an upcoming release (it’s committed to trunk, but probably too late for 2.15 at this point—so likely in version 2.16) the /paste URL action will accept more specific targets of the form target=/folder/FOLDERNAME or target=/task/PROJECTNAME (or even target=/task/TASKIDENTIFIER).

As part of building this, I ended up extending our OmniFocus reference URLs to support name lookups, rather than just identifier lookups, so you can use URLs of the form:

  • omnifocus:///folder/FOLDERNAME
  • omnifocus:///task/PROJECTNAME
  • omnifocus:///context/CONTEXTNAME

The name lookups support our usual “SmartMatch” completion matching, so if you have a project named “My Project” you’ll be able to use “omnifocus:///task/mp” to get to it (or whatever the first match for “mp” turns out to be).

9 Likes