Author Topic: Variables applying themselves in the IPTC Stationary Pad.  (Read 3954 times)

Offline Chrish_Photos

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Variables applying themselves in the IPTC Stationary Pad.
« on: November 30, 2017, 11:20:40 AM »
I have the following code in my Description panel, which works perfectly.

\{featuredorgcode}\ during the {event} held at {location} in {city} in the {state} of {country} on \{iptcday0}\ {iptcmonthname}{iptcyear4}

However, if I change the default replacement text to read 'An athlete', the code auto changes to the below.

\{featuredorgcode}An Athlete{iptcday0}\ {iptcmonthname}{iptcyear4}.

There are two variables enclosed with \\. Removing either of them solves the problem.

As background to what I am trying to achieve

I'm putting the bib number into the Org.code field as a number. I am going to use this number when I save the images to modify the file name. It also saves me typing the double \\ on either side of the number.

I'm using the persons shown field with \{featuredorgcode}\ to convert the bib number to a name, and again in the Description to get the name in there.

I'd really appreciate your help.


Offline Jerry H

  • Camera Bits Staff
  • Full Member
  • *****
  • Posts: 233
    • View Profile
    • Camera Bits, Inc.
Re: Variables applying themselves in the IPTC Stationary Pad.
« Reply #1 on: November 30, 2017, 01:50:17 PM »
Thank you for bringing this to our attention. This issue will be fixed in the next build we release.

-Jerry

Offline Jerry H

  • Camera Bits Staff
  • Full Member
  • *****
  • Posts: 233
    • View Profile
    • Camera Bits, Inc.
Re: Variables applying themselves in the IPTC Stationary Pad.
« Reply #2 on: November 30, 2017, 03:26:36 PM »
Please try this build. It fixes this issue of evaluating Code Replacements in the IPTC Stationery Pad.

Macintosh: http://www.camerabits.com/download/PhotoMechanic5R19099.dmg

Windows: http://www.camerabits.com/download/PM5SetupR19099.exe

Thanks,

-Jerry

Offline Chrish_Photos

  • Newcomer
  • *
  • Posts: 9
    • View Profile
Re: Variables applying themselves in the IPTC Stationary Pad.
« Reply #3 on: November 30, 2017, 09:30:56 PM »
Thank you. I've only been a PM client for 4 days and already I broke it :)

Offline Kevin M. Cox

  • Hero Member
  • *****
  • Posts: 545
  • PM 2024.10 (8173) | macOS 15.1
    • View Profile
    • Kevin M. Cox | Photojournalist
Re: Variables applying themselves in the IPTC Stationary Pad.
« Reply #4 on: December 04, 2017, 07:32:17 PM »
Thank you. I've only been a PM client for 4 days and already I broke it :)

But you broke it in the best way possible, by finding a bug that got squashed!
Kevin M. Cox | Photojournalist
https://www.instagram.com/kevin.m.cox/