Vlad, While I am sure this is doable in AppleScript and or Automator, my initial tests here show it will be slow as all get out (filtering folder contents on file extension, and setting finder labels, reiteratively).
Why not just get a proper cataloging tool like [url=https://www.cdfinder.de/en/downloads.html]NeoFinder[/url], that will automatically read the xmp files into its database, create thumbnails from your images, and provide search and smart collections based on all of your metadata both exif and xmp, with full editing ability, and do it super fast. It is what I use and I couldn't be happier with it. -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/dfba241e-f8cd-4648-9f05-8c7d021af8a2%40googlegroups.com.