Author Topic: My 3.6 -> 5.1 scripting migration notes  (Read 2317 times)

Ferdinand

  • 100 years since I was shot and a war was started
  • Global Moderator
  • *****
  • Posts: 1670
My 3.6 -> 5.1 scripting migration notes
« on: August 07, 2014, 04:47:15 PM »
In this thread there was a request for a tool to help in migrating IMatch 3.6 scripts to IMatch 5.1.  I don't have a tool, but I have some notes that I used each time I migrated a script.  You can either use these notes to do a series of search-and-replace, or you can hit the run button in the script editor and each time you get an error you refer to the notes to get the solution.

Not that this is NOT a how-to guide, it's just a list of notes that I referred to.  The format of each line is
IMatch 3.6 syntax   ->  Imatch 5.1 syntax

In some cases one line is replaced by two or two by one.  Some lines are now redundant, and in a few cases (properties -> attributes;  IPTC writing -> metadata writing) I have included some code snippets.

Caveat emptor.

p.s.  It's not as bad as it looks.  There are a lot of lines here, but it's a rare script that would use them all.


[attachment deleted by admin]