Photo Mechanic > General Discussion

Multiple text replacement files in Preferences

(1/1)

FairfieldPhoto:
Hi!

I noticed that you can now have multiple text replacement files defined in the preferences section.

Save me some trial/error time.  How does PM use multiple files?  Does it internally concatenate the text or do I get to choose which one I want searched?

I can see the benefit of first option if one file is the home team roster and the second file is the visiting team roster.

For my equestrian shows, I have a code replacement file for the events (class # and class name) and the riders/horses (rider # and rider name).  Is there any way to have two (or more) categories of text replacement active at the same time so I can have class #/name replaced in one IPTC field and rider #/name replaced in a different one without have to make two passes and change files in between?

-Mike

Kirk Baker:
Mike,


--- Quote from: FairfieldPhoto on September 21, 2006, 08:11:12 AM ---I noticed that you can now have multiple text replacement files defined in the preferences section.

Save me some trial/error time.  How does PM use multiple files?  Does it internally concatenate the text or do I get to choose which one I want searched?
--- End quote ---

It parses through each file in order and adds the codes and the replacements as it processes them.  Collisions are handled in the following way:if file A has code x24 and file B has code x24 then the replacement for file B will be used.  It is of course best to use unique codes for each file.


--- Quote from: FairfieldPhoto ---I can see the benefit of first option if one file is the home team roster and the second file is the visiting team roster.

For my equestrian shows, I have a code replacement file for the events (class # and class name) and the riders/horses (rider # and rider name).  Is there any way to have two (or more) categories of text replacement active at the same time so I can have class #/name replaced in one IPTC field and rider #/name replaced in a different one without have to make two passes and change files in between?
--- End quote ---

Just use slightly different codes for the two types of replacements, like for class #, append a 'c' onto the codes.  For the rider #, append a 'r onto the codes, like so:

12c[tab]class 12
12r[tab]rider 12

That should do it.

HTH,

-Kirk

Navigation

[0] Message Index

Go to full version