Hi, as I understand PSPad is using Javascripting.
The Windows Scripting Host is translating your vbscripts concerning loaded and
defined objects. But these VB scripting specific function of WSH are not
available in javascript. Have a look at the PSPad Help for functions which are
available instead. Anyway the wscript.quit statement is not usful for PSPad
Scripting.
Tipp:
To execute external scripts simply call them in an special script for PSPad.
Download Project-Refresh from PSPad-Extension to have an example.
http://www.pspad.com/files/pspad/rozsireni/126-ProjRefresh-3.004.zip

-- 
<http://forum.pspad.com/read.php?2,41334,41351>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem