PSD file metadata recognition in Macos

Before mojave, (High Sierra, Sierra, Yosemite ...) recognize PSD file's All layer names.

and could be search using macos spotlight with any layer names.


but after mojave, (Mojave, Catalina, Big Sur...) can't recognize All layer name (kMDItemLayernames)

only recognize Layer name is 12 or more length.

so corresponding to that condition layer names can be use spotlight search.


I want all layer names can be use in the search results. is there any workaroud or solution?


Posted on Apr 9, 2021 1:18 PM

Reply
8 replies

Apr 9, 2021 6:06 PM in response to VikingOSX

i dont want perform numeric comparisons on layer string lengths


and i think you're misunderstand what i mean


Macos Yosemite, Sierra, High Sierra recognize PSD metadata kMDItemLayerNames

kMDItemLayerNames       = (Background, Layer 1, Layer 2, Layer 3, Layer 4, Layer 5, testtesttest, gasgasgas)

if u type "gas" in spotlight, you can find this file


Macos Mojave, Catalina, Big Sur recognize PSD metadata kMDItemLayerNames

kMDItemLayerNames           = (testtesttest)

there is no [Background, Layer 1, Layer 2, Layer 3, Layer 4, Layer 5, gasgasgas] only [testtesttest]

cuz only [testtesttest] >= twelve letters

if u type "gas" in spotlight, you can't find this file



Apr 9, 2021 4:53 PM in response to 12199312

If you want to perform numeric comparisons on layer string lengths, then it cannot be done with Spotlight. Said that already. Spotlight will continue to resist your attempts at introducing non-existent keywords.


But running the Spotlight mdls -name kMDItemLayerNames foo.psd piped into awk or your favorite scripting language can determine the layer strings that are over a set character length.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

PSD file metadata recognition in Macos

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.