Thanks folks, If I write the syntax wrong PSpad used to throw up / highlight something in red - but how did it know my syntax was wrong? - it might have been the correct syntax in the latest version but not in a previous one.
However, I'll just take it that my logic is flawed and I can't do what I hoped. How does one amend / re-write a script when there's such a change in versions, where do you begin? Is there a handy "this is what we used to do in 5.6 and this is what the same thing now looks like in 7.x" set of tutorials on the most common things?? -- <https://forum.pspad.com/read.php?2,71182,71188> PSPad freeware editor https://www.pspad.com
