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

Offline Chrish_Photos

  • Newcomer
  • *
  • Posts: 5
    • 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
  • Jr. Member
  • *****
  • Posts: 98
    • 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
  • Jr. Member
  • *****
  • Posts: 98
    • 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: 5
    • 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

  • Sr. Member
  • ****
  • Posts: 307
  • PM 5.0 Build 19094 on OS X 10.12.6
    • 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
http://www.KevinCox.com