Jump to content

possible bug, or just PEBKAC issue with keyword metadata (kMDItemKeywords)


luckman212

Recommended Posts

  • Alfred 4.6.5 [1298]
  • macOS 12.3.1

 

I am growing old and feeble minded. I often add kMDItemKeywords to jog my memory and speed up app searches based on function. E.g. there's a useful app called OmniDiskSweeper to find out what's eating your disk space.

 

I use osxmetadata to add 3 Spotlight keywords: [ 'disk', 'space', 'analyze' ] to aid finding this app when I need it:

image.thumb.png.3de19cbfe09922393311ccefdb00de83.png

 

It works when I type "disk space" in Spotlight:

image.thumb.png.42079b1dd605bd6fa803ccaaa08156c5.png

 

also when I use mdfind from Terminal:

image.thumb.png.81147c3a9fe51b1c12173723619efb78.png

 

but not from Alfred:

image.thumb.png.a000684c5462706eeebbe36be9932c51.png

 

unless I put a literal comma (,)

image.thumb.png.7db20acd293f12df64e1fd730fad5594.png

 

But not in the reverse order:

image.thumb.png.5079b58211dbcfb1f8ea904921365a0b.png

 

Here are my prefs:

image.thumb.png.c16d243728168408f525d72fd2d41fdb.png

 

Is this a bug or just a limitation that can't be worked around?

thank you

 

 

Edited by luckman212
Link to comment
Share on other sites

  • 2 weeks later...

@luckman212 Sorry about the slow reply on this one.

 

I've mentioned this to Andrew to take a look at how Alfred treats the individual keywords. However, the simplest solution in the meantime would be to add "disk space" as a single keyword. This will give you the exact results you need without having to wait for us to investigate. :)

 

Cheers,
Vero

 

[Moving to Investigating]

 

Link to comment
Share on other sites

×
×
  • Create New...