I have made several tries replacing the 3 lines with WSH with your lines but it was bad. :-/ There are missing in your lines; each lines seems to be in error when i run the JS file after compiling ! Using saveFileAs doesn't ask me the filename i want to use for the save of the selected text. It is not like doing "_Save Block As..._".
Can you try to update my JS file to have the same function than the standard "_Save Block As..._" with the save of the filename in the "[b]Open Recent files list[/b]" ? Best Regards ;-) -- <http://forum.pspad.com/read.php?2,31916,32615> PSPad freeware editor http://www.pspad.com
