Copy IMatch Categories into XMP

From ptWiki

Jump to: navigation, search

by elessar

This script creates Lightroom-XMP categories from IMatch categories.

The category-information is stored in the <lr:hierarchicalSubject> tag of the xmp-file.

IMPORTANT: For some reason, Lightroom copies the information in this tag into the <Subject> tag. The script deletes all information in the <Subject>-tag to prevent a double assignement.

Sealed and System-Categorie are skipped.

This script uses Phil Harvey's ExifTool for writing to the xmp-files, so before running this script, be sure to set the ExifTool constant to your local installation path of ExifTool.

* Script file: Download this script
* See the Script downloading and installation instructions for generic information about using scripts downloaded from the IMatch Wiki.


Script has been tested with version 3.6.0.50 of IMatch.

Make a backup before using this script!!!


Version 1.0 (05 August 2007):

  • initial release

Version 1.1 (10 August 2007):

  • improved shell-call to keep ExifTool-Window in background and prenvent switching of window focus

Version 1.4 (09 November2007):

  • improved shell-call to run ExifTool completely in backround and prenvent switching of window focus
  • logging
Personal tools