$(CurText) argument pass selected text as argument, but not to the stdin of external tool? So it is not possible to pass long string or that contain special chars.

BTW, the $(Prompt) arguement of editplus is also handy; more convenient than creating a macro. Not everyone know about WSH.

I also want to learn macro but don’t know where to start. Can I use function like ShowModal, ShowOpen, show a web page etc…? –> asked in macro forum