[Bug 36466] New: Add WScript.Echo support for VBScripts and JScripts

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 13 16:47:44 CDT 2014


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 at winehq.org
          Reporter: focht at 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/6617f27004039860ac5d487c5ec0e112890deaed:/programs/wscript/host.c#l264

--- 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list