In case you read lines you are right, it has no sense. You can speed up your code a little. Instead of the moving caret and read current string, you can use construction from .\Script\Readme.rtf:
cite: -------------------------------------------------------------------------------- ' here is presented access to editor lines line by line dim item for each item in obj1 MsgBox item next -------------------------------------------------------------------------------- -- <http://forum.pspad.com/read.php?2,65099,65106> PSPad freeware editor http://www.pspad.com
