Skip to content

The Eclectic Light Company

Macs & painting – 🦉 No AI content
Main navigation
  • Downloads
  • Freeware
  • M-series Macs
  • Mac Problems
  • Mac articles
  • Macs
  • Art
hoakley October 12, 2023 Macs, Technology, Updates

Reversing Spotlight search with a second beta of Spotcord

At the start of this month, I released the first beta of a new app that reverses Spotlight search to build a vocabulary of keywords found in your images and other documents. I’m delighted today to release the second beta of that app, Spotcord, with many significant improvements.

The background to this is how to improve our use of metadata to find the documents we want. One general approach is to add keywords, then search for one or more of those. If I wanted to find an image showing sheep with their lambs on a fine day, I might try searching in Spotlight for images with keywords containing lamb and blue sky. This of course depends on whether any images have been assigned those keywords. If none use the keyword lamb, then widening the search to sheep might return too many hits that don’t include lambs. If you’re going to use keywords, then knowing the vocabulary is essential.

As far as I’m aware, neither Spotlight nor any software using it can compile such a vocabulary, at least not until Grant suggested that I might write Spotcord. I’m also very grateful to John who got me to look at how macOS Ventura and Sonoma perform their image analysis but don’t populate keywords for images.

Currently, almost all keyword metadata are set by the user. Some apps now offer the ability to analyse images for you and generate a list of appropriate keywords that you can then save in their IPTC/EXIF metadata. This is one of many useful features in GraphicConverter, for example.

spotcord01

Keywords are also available in PDF, Word docx, Pages RTFD and many other formats, where they have to be added manually in their document information editor.

When you’ve got a folder that you want to build a vocabulary of keywords for, open a new document in Spotcord, and set it to scan that folder.

spotcord14

The app always scans Keywords (kMDItemKeywords), and you can add to those Subject (kMDItemSubject), and any metadata type supported by Spotlight. Its scan is deep, including every file and folder inside that selected. In this case, it included 116,800 files in all, and found 3,542 keywords across them. Its vocabulary is sorted alphabetically (sorting by frequency is coming in a future release), gives the frequency of each keyword, and can be saved to a text file.

This is version 0.8, which I’m hoping is getting close to its first full release. In addition to the new features I’ve just described, it now has a nine-page Help book that even lists suggestions for custom Keys.

There are two significant limitations imposed by macOS. I’m afraid that it can’t build vocabularies for images in Photos libraries, as those aren’t accessible as regular metadata, but stored in databases instead. As my excursion into image classification in Ventura and Sonoma showed, it also can’t build vocabularies for objects automatically recognised by macOS, as those don’t work that way. But for IPTC/EXIF and all those other keyword metadata, it works as advertised, and picks up data embedded in the documents or attached using extended attributes.

Spotcord version 0.8, its second beta, for Big Sur and later, is now available from here: spotcord08
from Downloads above, and from its Product Page. I’ll be adding it to my auto-update system when it reaches full release.

Happy keywording!

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
Like Loading...

Related

Posted in Macs, Technology, Updates and tagged concordance, Graphic Converter, keyword, metadata, PDF, RTFD, search, Spotcord, Spotlight, Word. Bookmark the permalink.

3Comments

Add yours
  1. 1
    EcleX's avatar
    EcleX on October 13, 2023 at 6:25 am

    Thanks for another great tool!

    LikeLiked by 1 person

  2. 2
    bwillius's avatar
    bwillius on October 18, 2023 at 1:16 pm

    I had a quick look at Spotcord – very interesting. Unicode characters are not showing correctly: comicbu\U0308cher . “u\U0308” is an “ü”.

    Is it possible to show the keywords by file?

    LikeLiked by 1 person

    • 3
      hoakley's avatar
      hoakley on October 18, 2023 at 1:44 pm

      Thank you.
      Unicode characters are displayed correctly (try putting some in your own keywords, and you’ll see them appear fine in Spotcord). The problem is that some metadata standards don’t allow ‘raw’ Unicode to be put in metadata, and they have to be escaped in that way. Currently Spotcord shows what’s stored, and doesn’t un-escape those characters. That’s something I will improve when I can.

      I’ve thought about showing keywords by file, but that’s quite a different game. To do so would require listing the keywords for each individual file after a search – perfectly possible, but a different task and goal, and not something you’d really want for thousands of files.
      Howard.

      LikeLike

·Comments are closed.

Quick Links

  • Free Software Menu
  • System Updates
  • M-series Macs
  • Mac Troubleshooting Summary
  • Mac problem-solving
  • Painting topics
  • Painting
  • Long Reads

Search

Monthly archives

  • December 2025 (47)
  • November 2025 (74)
  • October 2025 (75)
  • September 2025 (78)
  • August 2025 (76)
  • July 2025 (77)
  • June 2025 (74)
  • May 2025 (76)
  • April 2025 (73)
  • March 2025 (78)
  • February 2025 (67)
  • January 2025 (75)
  • December 2024 (74)
  • November 2024 (73)
  • October 2024 (78)
  • September 2024 (77)
  • August 2024 (75)
  • July 2024 (77)
  • June 2024 (71)
  • May 2024 (79)
  • April 2024 (75)
  • March 2024 (81)
  • February 2024 (72)
  • January 2024 (78)
  • December 2023 (79)
  • November 2023 (74)
  • October 2023 (77)
  • September 2023 (77)
  • August 2023 (72)
  • July 2023 (79)
  • June 2023 (73)
  • May 2023 (79)
  • April 2023 (73)
  • March 2023 (76)
  • February 2023 (68)
  • January 2023 (74)
  • December 2022 (74)
  • November 2022 (72)
  • October 2022 (76)
  • September 2022 (72)
  • August 2022 (75)
  • July 2022 (76)
  • June 2022 (73)
  • May 2022 (76)
  • April 2022 (71)
  • March 2022 (77)
  • February 2022 (68)
  • January 2022 (77)
  • December 2021 (75)
  • November 2021 (72)
  • October 2021 (75)
  • September 2021 (76)
  • August 2021 (75)
  • July 2021 (75)
  • June 2021 (71)
  • May 2021 (80)
  • April 2021 (79)
  • March 2021 (77)
  • February 2021 (75)
  • January 2021 (75)
  • December 2020 (77)
  • November 2020 (84)
  • October 2020 (81)
  • September 2020 (79)
  • August 2020 (103)
  • July 2020 (81)
  • June 2020 (78)
  • May 2020 (78)
  • April 2020 (81)
  • March 2020 (86)
  • February 2020 (77)
  • January 2020 (86)
  • December 2019 (82)
  • November 2019 (74)
  • October 2019 (89)
  • September 2019 (80)
  • August 2019 (91)
  • July 2019 (95)
  • June 2019 (88)
  • May 2019 (91)
  • April 2019 (79)
  • March 2019 (78)
  • February 2019 (71)
  • January 2019 (69)
  • December 2018 (79)
  • November 2018 (71)
  • October 2018 (78)
  • September 2018 (76)
  • August 2018 (78)
  • July 2018 (76)
  • June 2018 (77)
  • May 2018 (71)
  • April 2018 (67)
  • March 2018 (73)
  • February 2018 (67)
  • January 2018 (83)
  • December 2017 (94)
  • November 2017 (73)
  • October 2017 (86)
  • September 2017 (92)
  • August 2017 (69)
  • July 2017 (81)
  • June 2017 (76)
  • May 2017 (90)
  • April 2017 (76)
  • March 2017 (79)
  • February 2017 (65)
  • January 2017 (76)
  • December 2016 (75)
  • November 2016 (68)
  • October 2016 (76)
  • September 2016 (78)
  • August 2016 (70)
  • July 2016 (74)
  • June 2016 (66)
  • May 2016 (71)
  • April 2016 (67)
  • March 2016 (71)
  • February 2016 (68)
  • January 2016 (90)
  • December 2015 (96)
  • November 2015 (103)
  • October 2015 (119)
  • September 2015 (115)
  • August 2015 (117)
  • July 2015 (117)
  • June 2015 (105)
  • May 2015 (111)
  • April 2015 (119)
  • March 2015 (69)
  • February 2015 (54)
  • January 2015 (39)

Tags

APFS Apple Apple silicon backup Big Sur Blake Bonnard bug Catalina Consolation Console Corinth Delacroix Disk Utility Doré El Capitan extended attributes Finder firmware Gatekeeper Gérôme High Sierra history of painting iCloud Impressionism landscape LockRattler log M1 Mac Mac history macOS macOS 10.12 macOS 10.13 macOS 10.14 macOS 10.15 macOS 11 macOS 12 macOS 13 macOS 14 macOS 15 malware Metamorphoses Mojave Monet Monterey Moreau myth narrative OS X Ovid painting performance Pissarro Poussin privacy Renoir riddle Rubens Sargent security Sierra SilentKnight Sonoma SSD Swift Time Machine Tintoretto Turner update upgrade Ventura xattr Xcode XProtect

Statistics

  • 20,893,102 hits
Blog at WordPress.com.
Footer navigation
  • Free Software Menu
  • About & Contact
  • Macs
  • Painting
  • Downloads
  • Mac problem-solving
  • Extended attributes (xattrs)
  • Painting topics
  • SilentKnight, Skint, SystHist, silnite, LockRattler & Scrub
  • DelightEd & Podofyllin
  • xattred, SpotTest, Spotcord, Metamer & xattr tools
  • 32-bitCheck & ArchiChect
  • XProCheck, T2M2, LogUI, Ulbow, blowhole and log utilities
  • Cirrus & Bailiff
  • Precize, Alifix, UTIutility, Sparsity, alisma, Taccy, Signet
  • Versatility & Revisionist
  • Text Utilities: Textovert, Nalaprop, Dystextia and others
  • PDF
  • Keychains & Permissions
  • Updates
  • Spundle, Cormorant, Stibium, DropSum, Dintch, Fintch and cintch
  • Long Reads
  • Mac Troubleshooting Summary
  • M-series Macs
  • Mints: a multifunction utility
  • VisualLookUpTest
  • Virtualisation on Apple silicon
  • System Updates
  • Saturday Mac Riddles
  • Last Week on My Mac
  • sysctl information
Secondary navigation
  • Search

Post navigation

Reading visual art: 79 Pigs and swineherds
High: Andes

Begin typing your search above and press return to search. Press Esc to cancel.

  • Reblog
  • Subscribe Subscribed
    • The Eclectic Light Company
    • Join 8,876 other subscribers
    • Already have a WordPress.com account? Log in now.
    • The Eclectic Light Company
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...
 

    %d