I want to use PSPad to develop javascripts that will run using the Windows
Scripting Host. Some will need cscript and some wscript. These are not a part of
a document, page, etc. - stand-alone scripts called by a scheduler.

So far, I've defined these two as external applications for javascript:
wscript.exe and cscript.exe. Using these, my TEST.JS script seems to start but
neither does what TEST.JS is supposed to do: display a message.

The only content of TEST.JS is a line with WScript.Echo to write a 'hello
world'. When I open the TEST.JS file with Windows Scripting Host, the message is
displayed as expected.

What don't I understand? Is there some setting that needs to change?

:-/

Thanks for your help.

...Charlie

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

Odpovedet emailem