https://bugs.winehq.org/show_bug.cgi?id=36466
Bug ID: 36466 Summary: Add WScript.Echo support for VBScripts and JScripts Product: Wine Version: 1.7.18 Hardware: x86 OS: Linux Status: NEW Severity: enhancement Priority: P2 Component: programs Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net
Hello folks,
as the summary says...
Example 'echotest.js':
--- snip --- WScript.Echo("hello"); --- snip ---
Output:
--- snip --- $ wine cscript echotest.js fixme:wscript:Host_Echo (0x12f090) --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/6617f27004039860ac5d487c5ec0e1128...
--- snip --- 264 static HRESULT WINAPI Host_Echo(IHost *iface, SAFEARRAY *args) 265 { 266 WINE_FIXME("(%p)\n", args); 267 return E_NOTIMPL; 268 } --- snip ---
Be aware that 'cscript' and 'wscript' behave differently.
cscript -> console output wscript -> message box
NOTE: Wine's 'cscript' shares the sources with 'wscript' (parent).
'winetricks -q wsh57' works around.
$ wine --version wine-1.7.18-136-g0fb88f8
Regards