Is it (still) possible to write "scripts" for LrC?
I have 3000+ bird photos that I "tagged" for searching prior to using LrC. Since I was not using any sophisticated photo processing tool like LrC, I had no way of easily adding metadata like keywords. I devised a file naming scheme that served my searching needs; it included a species name (a standard 4-letter abbreviation) and some aspects of the photo, e.g., gender, plumage, etc.
Now that I've moved to LrC, I am using keywords for the same searching needs. However, I still have those 3000+ photos imported into LrC and they have no keywords at all. As former professional programming I thought it would be nice to be able to write a script or macro or program that would:
- iterate through a folder containing all those photos
- get the file name of the photo
- parse the file name to determine the species and all aspects for the photo
- open the photo (or whatever is needed to support the next step)
- add appropriate keywords to the photo
- close the file (if needed)
I've discovered that Adobe officially supports writing "plugins" that might support doing what I propose. However, I don't think I need a plugin as this would in theory be a one time thing. There is some evidence that you can write "scripts" that don't have to have all of the complexity of a plugin (see https://helpx.adobe.com/lightroom-classic/kb/extract-previews-for-lost-images-lightroom.html). However, newer versions of LrC might not support this.
I'm looking into the documentation, but thought I'd ask the community if:
- the notion of a script rather than plugin is still supported
- the Lua programming language and its reach into LrC would support what I want to do
- there are additional resources that would help
- the work involved would be reasonable; I can probably do all the species keywording in less than a day; the rest would take several days
Any thoughts or advice appreciated.
