Chris wrote:
CS> to the fact that WScript.StdIn.ReadAll is not supported by wscript.exe
CS> (according to MSDN).  So I have:

CS> command.13.*=cscript /Nologo "$(SciteDefaultHome)\tools\SpellCheck.vbs"
CS> command.input.13.*=$(CurrentSelection)
CS> 
command.mode.13.*=subsystem:console,replaceselection:auto,savebefore:no,quiet:yes

MSDN is powerful tool, if ya know what i mean :)
SciTE allows to use WSCRIPT in the same way as CSCRIPT.
By using WSCRIPT we receive the latent performance.
subsystem:windows,quiet:yes - for silent mode (no open output window)

Sample test_StdIn.vbs:
> ------------------------------------------------
' command.name.48.*=Test StdIn
' command.48.*=WSCRIPT "$(SciteDefaultHome)\test\test_StdIn.vbs"
' command.input.48.*=$(CurrentSelection)
' 
command.mode.48.*=subsystem:windows,replaceselection:auto,savebefore:no,quiet:yes
' ----------------------------------------

cmd = WScript.StdIn.ReadAll
WScript.Echo WScript.FullName
WScript.Echo cmd
WScript.StdOut.Write "[" & cmd & "]"

' Please select this text before Run script!!!
> ------------------------------------------------

-- 
mozers
<http://scite.ruteam.ru>

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to