Re: Looking for program to read keys from DOS(besides CHOICE.COM)


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by Just Michael on 9, 2001 at 12:27 AM:

In Reply to: Looking for program to read keys from DOS(besides CHOICE.COM) posted by Krusty on 8, 2001 at 11:29 PM:

: I am looking for a program that will read a single keypress from DOS and then return it via either an errorlevel code or a environment variable. It will also need to return a default value after a specified amount of time. I realize that CHOICE.COM can do all of this, but the problem I have is this:

: I'm wanting to have an option on my cabinet to load network drivers from DOS, but I want it to be transparent to the average user. I'm going to have a beep at the point where the keypress needs to be, with a 2 second delay following. If no key is pressed, it will continue to load ARCADEOS. Otherwise, if the special key is pressed, it will instead load network drivers and go to a login prompt. With CHOICE.COM, you can specify what keys are to be pressed, but if someone were to press another key on the control panel during this time, it would just hang and wait for a valid input before continuing. I want a program that will ignore any invalid keypresses and still return a default value after 2 seconds. I could possibly set up CHOICE.COM to recognize all of the control panel buttons and then just do the default action on any of them, but I have some mapped to non-letter or number keys, such as SHIFT, ALT, etc, and I'm not sure how to set this up via CHOICE.COM.

: Does anyone know of a program that will do this, and where I could find it?

: Thanks in advance!

What about stopping the windows GUI from booting by default (open msdos.sys in C:\ with notepad and change BootGUI=1 to BootGUI=0) and then using a dos menu with a default option and time limit?


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]