I'd like to learn a bit of VBScript so I can loop through the text file in the
current tab to replace odd characters with other characters. 

How does PSPad loop through each line in the current tab when a VBScript is run?


Is there any way for me to learn this? Is there an example of this somewhere? 

I'm looking at the file "Scripts\ListTransform.vbs" and there are very little
comments. But it looks like the VBScript starts with the Init() subroutine? Is
that right? 

Does every VBS script at the top have to have these lines and constants?
' it will print all open files to printer
const module_name  = "ListTransform"
const module_ver   = "1.1"          

Can I have the Init() subroutine at the top of the VBS file? 

I'm a Perl programmers but I'm not familiar with VBScript.



Thank you.

-- 
<https://forum.pspad.com/read.php?2,70394,70394>
PSPad freeware editor https://www.pspad.com

Odpovedet emailem