Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33480

Re: Standalone Jscript script

From "Dave \"Crash\" Dummy" <invalid@invalid.invalid>
Newsgroups comp.lang.javascript
Subject Re: Standalone Jscript script
Date 2017-06-01 12:02 -0400
Organization A noiseless patient Spider
Message-ID <ogpdjh$8je$1@dont-email.me> (permalink)
References <ogparl$u3g$1@dont-email.me> <XnsA787B4FD482D9eejj99@194.109.6.166>

Show all headers | View raw


Evertjan. wrote:
> "Dave \"Crash\" Dummy" <invalid@invalid.invalid> wrote on 01 Jun 2017
> in comp.lang.javascript:
> 
>> I get an error for "object required."
>> 
>> If I try window.alert("Hello, World!");
>> 
>> or document.alert("Hello, World!");
> 
> WScript.echo('hi');

Thanks to you and also Stefan. I guess my problem was a poor choice of
operations. I don't really want to use "alert" for anything. It just seemed
like a simple way to build a test file using the equivalent of the
VBScript "msgbox" function. Oops...

-- 
Crash

Absence tempts the heart to wander.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Standalone Jscript script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-01 11:15 -0400
  Re: Standalone Jscript script Ben Bacarisse <ben.usenet@bsb.me.uk> - 2017-06-01 16:41 +0100
  Re: Standalone Jscript script "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-06-01 17:47 +0200
    Re: Standalone Jscript script "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-06-01 12:02 -0400
  Re: Standalone Jscript script Martin Honnen <martin.honnen@gmx.de> - 2017-06-01 18:04 +0200
  Re: Standalone Jscript script Dr J R Stockton <reply1700@merlyn.demon.co.uk.invalid> - 2017-06-02 22:26 +0100

csiph-web