Author Topic: Code Replacements don't change over  (Read 3405 times)

Offline cparen3

  • Newcomer
  • *
  • Posts: 10
  • LSU Athletics Director of Photography
    • View Profile
Code Replacements don't change over
« on: July 25, 2023, 10:01:19 PM »
I've got a Code replacement file, that basically checks a field we use to declare a sport and then puts in the sport shortcut with the number I type to help me shorten things I have to type.

So I type =11= and it replaces it with =={category:lc}#2=11= which should render out =sc11= with the variable run. When I advance to the next photo and come back, I find =sc11= sitting there instead of the player name that should be there as the replacement for =sc11=. I can then jump back and forth between photos, but it never renders =sc11= our to the code replacement I want.

Is there a way to fix that?


Offline ahoward

  • Camera Bits Staff
  • Hero Member
  • *****
  • Posts: 973
    • View Profile
Re: Code Replacements don't change over
« Reply #1 on: July 26, 2023, 09:09:18 AM »
Have you set your delimiter character to be the = character on the computer where this is an issue?

See our support document on the topic here: https://camerabits.freshdesk.com/support/solutions/articles/48000223660-introduction-to-code-replacements-in-photo-mechanic

Scroll down to the the "Setting Code replacements" section
« Last Edit: July 26, 2023, 09:34:57 AM by ahoward »

Offline cparen3

  • Newcomer
  • *
  • Posts: 10
  • LSU Athletics Director of Photography
    • View Profile
Re: Code Replacements don't change over
« Reply #2 on: July 26, 2023, 12:28:09 PM »
Yep I've got it using = for all code replacements. It's not that it won't do it, it just won't render the code replacement buried in the first code replacement.