Just an update... Using the code provided by grigri as my crash-course in Javascript, I was able to develop a script that works to my liking - which avoids the potential pitfalls I mention above regarding the original code.
Thanks again grigri. Jeff -- <http://forum.pspad.com/read.php?2,44299,44351> PSPad freeware editor http://www.pspad.com
