Jump to content

Advanced search using tags (à la Finder)


Recommended Posts

Hey,@giovanni. Thanks for the reply. I wonder, does Alfred's native search capability support Boolean conditions? For example, I would like to find all files with Tag1 but exclude the ones that also have Tag2.

 

The workflow you suggested is interesting, but I would like to integrate Alfred's search beyond the scope of Finder, which seems to only search for folders and files. I have glimpsed that this is possible with Alfred. Ideally, I would like to be able to search for a tag and find all items with that tag, whether those items are files on my HD, bookmarks on raindrop.io, notes on Obsidian, and annotations on hypothes.is. Does that sound possible?

Edited by marcher
Link to comment

one could parse the user's input to generate variables and use them in a File Filter (as in the screenshot below where var1 would be an 'included' tag and var2 an 'excluded' one). This would only be feasible with a finite number of tags though (I think). Would that work? Or an alternative is to build an mdfind command based on the user's input. 

 

As for the other items, as long as they are files and indexed/findable by spotlight, they should be returned as well. 

 

image.thumb.png.f66e9cd9ea097d9e50860c3344d6c394.png

Edited by giovanni
Link to comment
15 hours ago, marcher said:

Does that sound possible?

 

It's possible, but a lot of hard work. Alfred only knows how to search for files (and contacts). Anything else you would have to implement in a workflow, or write some software to create proxy files for all your applications' bookmarks, notes etc.

Link to comment

@marcher how is this

 

I wanted to suggest tag autocompletion, but it looks like the solution described here to fetch all tags does not work in Monterey?

Does anybody know how to retrieve all user-generated tags in Monterey? 

 

Also, after adding a filename search this can be used to shorten the file names or present other information as discussed previously with @Matman67

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...