# Enhancement: Searching based on tag in Alfred

**URL:** https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379
**Category:** Hookmark Feature Requests
**Created:** [September 20, 2025, 11:54am UTC](https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379 "2025-09-20T11:54:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![atdnorth](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@atdnorth](https://discourse.hookproductivity.com/u/atdnorth)
#### Post date: [September 20, 2025, 11:54am UTC](https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379/1 "2025-09-20T11:54:31Z")

</div>

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](https://github.com/zeitlings/alfred-devonthink)

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>`

---

<div class="post-metadata">

### Author: ![bchend](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/b/dbc845/32.png) [@bchend](https://discourse.hookproductivity.com/u/bchend)
#### Post date: [September 21, 2025, 3:43am UTC](https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379/2 "2025-09-21T03:43:31Z")

</div>

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

We will look into this.

Thank you

---

<div class="post-metadata">

### Author: ![LucB](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/lucb/32/2228_2.png) [@LucB](https://discourse.hookproductivity.com/u/LucB)
#### Post date: [September 23, 2025, 1:30am UTC](https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379/3 "2025-09-23T01:30:18Z")

</div>

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).

---

<div class="post-metadata">

### Author: ![atdnorth](https://discourse.hookproductivity.com/letter_avatar_proxy/v4/letter/a/a8b319/32.png) [@atdnorth](https://discourse.hookproductivity.com/u/atdnorth)
#### Post date: [September 23, 2025, 9:59am UTC](https://discourse.hookproductivity.com/t/enhancement-searching-based-on-tag-in-alfred/9379/4 "2025-09-23T09:59:17Z")

</div>

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.
