Thanks a ton for the sample script. I finally got it to work. I realized that I had X & Y confused, meaning I coded thinking X=line number, Y=column number. Also using 0 was another issue. I corrected the line to
edFilter.setCaretPos(1,ind) and this worked! Thanks for all the help. -- <http://forum.pspad.com/read.php?2,44614,44674> PSPad freeware editor http://www.pspad.com
