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
https://bugs.winehq.org/show_bug.cgi?id=36466
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|programs |wscript
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, still present.
$ wine --version wine-1.7.35-24-g3873c93
Regards
https://bugs.winehq.org/show_bug.cgi?id=36466
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #2 from Jacek Caban jacek@codeweavers.com --- Patch sent:
http://source.winehq.org/patches/data/108841
Thanks for the report.
https://bugs.winehq.org/show_bug.cgi?id=36466
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d6f527af14d0e9f9ea629024433 | |e3735da439194 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/d6f527af14d0e9f9ea629024433...
Thanks Jacek
Regards
https://bugs.winehq.org/show_bug.cgi?id=36466
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.36.