Enhancement: Searching based on tag in Alfred

I work within a GTD methodology using OmniFocus, DEVONthink, and OmniOutliner. Some of my hooks are “operational” meaning they hook OmniFocus tasks to DEVONthink/OmniOutliner objects.

However, other of my hooks are “GTD system” based hook to things like Someday/Maybe lists or Project lists organized in either DEVONthink or OmniOutliner. I use my OmniFocus inbox as a place to collect all ideas (as a central triage area) before I decide where it should be filed (e.g. in an OmniFocus project or DEVONthink or OmniOutliner document).

Using the hookmark bookmark window, I have tagged all relevant Someday/Maybe lists that exist in DEVONthink or OmniOutliner (for instance music, books, movies, activities) so that these can be consolidated in the Hookmark bookmark tags sectionn.

Here comes the friction: I want to make it easy to access these lists. I use Alfred and the workflow (hm) , two issues arise:

  1. Multiple hookmark items may show up with a similar name (especially if I have music hooked ot multiple item) and then I need to spend time figuring out which is the correct one to use. Sure, I could use naming convention here to help. But this is just clutter.

  2. I have to remember the name of the list

My suggestion is to enhance the Alfred workflow with the following command:

hmt <tag name> <object name>

For instance:

hmt someday

would start to display all hooked objects that are tagged with “someday”. Then the user could either select (via Alfred) or type the name of the underlying document:

hmt someday music

Additional functionality would display the list of tags which you could select using standard Alfred features:

hmt

would display someday, shopping, etc (which are tags that I have configured) and then typing a substring would bring up a filtered list.

I looked through the AppleScript dictionary and did not see any way to access tags. If this functionality is implemented, I am happy to beta test.

For reference and inspiration, please see the DEVONthink Alfred workflow. This provides easy Alfred access to DEVONthink stored content: GitHub - zeitlings/alfred-devonthink: DEVONthink 4 Portal

Addendum:

It would also make sense to allow filtering by “Pinned” and “Recents” in bookmarks as well. Alfred commands could be hmp <object name> and hmr <object name>

Thank you very much for the enhancement request, @atdnorth . We really appreciate it.

We will look into this.

Thank you

Great idea! We value interoperability with launchers. I’ve added this to our list of planned enhancements. Our surveys show that many Hookmark users use a launcher (Alfred, Raycast or LaunchBar).

The tag architecture, if done in the correct way, has a real potential expanding the capabilities of Hookmark.

Also consider adding an x-callback-url mechanism around it. For instance,

hookmark:///search?tag=TagX
hookmark:///search?name=Some%20name

This would obviously bring back a list of related documents - how these would / should be displayed to the user is a design question. In DEVONthink, this is shown in the main DEVONthink window.