Author Topic: Code Replacement Issue ?  (Read 2369 times)

Offline J.A.S.

  • Newcomer
  • *
  • Posts: 43
    • View Profile
Code Replacement Issue ?
« on: October 01, 2020, 01:42:51 AM »
Hi,

Using PM6 build 5029 with MacOS Catalina 10.15.7

Have been using code replacement for years with no issues but yesterday loaded a new replacement file, to find only part of the codes from the .txt file worked.

Set up two sports teams, one with the shortcut 'lon##' and the other with the shortcut 'exe##' on one .txt file.

After updating code replacement on the preferences menu, only the code replacements for the 'lon' team will work.

Despite reloading code replacements, restarting PM and resaving the .txt file - Nothing will get the 'exe##' code replacement section of the text file to work, while the other code replacements on the txt file work fine.

Is this a glitch, or maybe is the 'exe##' code being blocked by PM or the Mac due to some kind of link with .exe filenames ?

The delimiter character I'm using is '/', in case that has any effect on the code replacements.

Any ideas ?

Thanks in advance.


Offline J.A.S.

  • Newcomer
  • *
  • Posts: 43
    • View Profile
Re: Code Replacement Issue ?
« Reply #1 on: October 01, 2020, 02:49:49 AM »
Updated to add:

Tested again this morning, and a new txt file with the 'exe##' code replacements works fine but the original file still refuses to work.

Despite it being a plain text file, there must have been something unusual or weird in the characters used in original txt file that stopped the code replacement working.

So it's an issue with the creation of the txt file, rather than PM6.

Thanks.

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 25020
    • View Profile
    • Camera Bits, Inc.
Re: Code Replacement Issue ?
« Reply #2 on: October 01, 2020, 07:57:38 AM »
Updated to add:

Tested again this morning, and a new txt file with the 'exe##' code replacements works fine but the original file still refuses to work.

Despite it being a plain text file, there must have been something unusual or weird in the characters used in original txt file that stopped the code replacement working.

So it's an issue with the creation of the txt file, rather than PM6.

Thanks.

I suggest using a text editor (like BBEdit) that can show you 'invisible' characters.  I suspect that you copied and pasted from some source like a web page and some junk came along for the ride.

-Kirk