AppleScript Example: Filter XMP Keywords

Helpful stuff about how to best use NeoFinder
Post Reply
neo-admin
Site Admin
Posts: 298
Joined: Tue Mar 08, 2022 3:10 pm

AppleScript Example: Filter XMP Keywords

Post by neo-admin »

A client recently told us that she had received a couple of thousand files from a contractor, and each of these files contained a lot of XMP keywords. That was OK, but someone had placed hundreds of these keywords in an hierarchical group named "More Keywords", so the result was confusing, and differed from the regular keywords normally used.

unwanted hGroup.jpg
unwanted hGroup.jpg (57.71 KiB) Viewed 3498 times


The client asked us if there was a way to get rid of these.

We first thought that this would be a lot of manual labor.
But no, this can be done with AppleScript!

So we wrote this #AppleScript that solves this problem:

https://www.cdfinder.de/guide/9/9.7/power_scripts.html
DKPhoto

Re: AppleScript Example: Filter XMP Keywords

Post by DKPhoto »

How do I make this work? I don't anything about Applescript, sadly!

Will this split all the hierarchical keywords, which is ideally what I would like to do?

Doug
neo-admin
Site Admin
Posts: 298
Joined: Tue Mar 08, 2022 3:10 pm

Re: AppleScript Example: Filter XMP Keywords

Post by neo-admin »

Hello,

no, this will filter out an unwanted section of existing hierarchical keywords.

Why would you want to split all your hierarchical keywords?
DKPhoto

Re: AppleScript Example: Filter XMP Keywords

Post by DKPhoto »

I made my hierarchies really deep early on and now it just looks a mess, and I have abandoned using hierarchical keywords now, but have lots of historical images with a long hierarchy.

I used to use topics as one of the hierarchies so it looks a mess.

I'm not sure how to attach a screen shot on here.


Last bumped by Anonymous on Fri Jul 28, 2023 6:35 pm.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest