Author Topic: Problem with a variable in IPTC pad.  (Read 4955 times)

Offline Colin Robinson

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Problem with a variable in IPTC pad.
« on: July 17, 2016, 02:06:35 PM »
I believe I have found a small bug (caused by a typo?) in the variables when setting up a IPTC pad prior to ingesting some photos today.
I double clicked on "monthname", rather than typing it into the caption field, but it appeared as {month name}  with a space. This did not pick up the information. When I deleted the space manually the variable worked fine. Using the short code {mnn} worked fine.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with a variable in IPTC pad.
« Reply #1 on: July 17, 2016, 04:45:08 PM »
I imagine the OS's 'autocorrect' feature modified the text when it was 'pasted' in.  I'll see if there is anything I can do about it.

-Kirk

Offline Colin Robinson

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Re: Problem with a variable in IPTC pad.
« Reply #2 on: July 18, 2016, 12:26:31 AM »
Not a huge deal but foxed me for a few minutes. Thanks for the quick response.
CR

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Problem with a variable in IPTC pad.
« Reply #3 on: July 18, 2016, 09:45:23 AM »
I have found a way to temporarily disable auto-correct and text replacement prior to inserting the variable and restore the settings afterwards.  This fixes the problem.  The fix will be in the next build of Photo Mechanic 5.

-Kirk

Offline Colin Robinson

  • Newcomer
  • *
  • Posts: 11
    • View Profile
Re: Problem with a variable in IPTC pad.
« Reply #4 on: July 18, 2016, 11:19:26 AM »
KIRK

I have worked out a work around.
 In the Edit?/ Spelling  menu I have added the common "two word" {variables} I use, ( is it learn? Spelling, I'm writing this on my iPad from memory and can't check PM) so that when the variable is pasted, the spell check recognises it as something I want and doesn't change it.

Thanks again.
CR