Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8880
| From | Dr J R Stockton <reply1148@merlyn.demon.co.uk> |
|---|---|
| Newsgroups | microsoft.public.scripting.wsh, microsoft.public.scripting.jscript, comp.lang.javascript |
| Subject | WSH JScript single-character input ? |
| Date | 2011-12-04 22:18 +0000 |
| Organization | Home |
| Message-ID | <uoakTIUJH$2OFwlT@invalid.uk.co.demon.merlyn.invalid> (permalink) |
Cross-posted to 3 groups.
Can command-line JScript, running in Windows script Host, read a
*single* character from the keyboard without needing Enter? My old
16-bit Pascal directory program HUNT accepts single-character responses
for Yes/No/Quit, and it would be nice to have my 32-bit WSH version of
it do the same.
If anyone wants to look, the WSH is SEAKFYLE.JS ("documentation" is
SEAKFYLE.HTM), which is called by SEEK.BAT, all linked from
<http://www.merlyn.demon.co.uk/programs/32-bit/00index.htm>.
--
(c) John Stockton, nr London UK ?@merlyn.demon.co.uk IE8 FF8 Op11 Sf5 Cr15
news:comp.lang.javascript FAQ <http://www.jibbering.com/faq/index.html>.
<http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
WSH JScript single-character input ? Dr J R Stockton <reply1148@merlyn.demon.co.uk> - 2011-12-04 22:18 +0000
Re: WSH JScript single-character input ? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-05 08:26 +0000
Re: WSH JScript single-character input ? Dr J R Stockton <J.R.Stockton@physics.org> - 2011-12-05 07:38 -0800
Re: WSH JScript single-character input ? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-12-05 18:05 +0000
Re: WSH JScript single-character input ? Tom Lavedas <tglbatch@verizon.net> - 2011-12-05 12:33 -0800
csiph-web