Jan 032018
 
Stuff DOS keyboard buffer with keycode from a "script" file.
File AUTOKEY.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Stuff DOS keyboard buffer with keycode from a “script” file.
File Name File Size Zip Size Zip Type
AUTOKEY.ASM 13862 4901 deflated
AUTOKEY.COM 3124 1241 deflated
KEYCODE.ASM 2435 1095 deflated
KEYCODE.EXE 865 130 deflated
KEYF.ILE 107 63 deflated
README.DOC 2105 1072 deflated

Download File AUTOKEY.ZIP Here

Contents of the README.DOC file


AUTOKEY.COM and KEYCODE.EXE are programs written by Hardin Brothers for
PCResource Magazine. An edited version of AUTOKEY and the complete KEYCODE
appeared in the January 1989 issue of the magazine. These programs were
obtained from the Clone Phone BBS, which is operated by the magazine as a
service to its readers. The version of AUTOKEY that appeared in the January
issue was edited to save space (there were 9 entries in the table called
"code_table" -- see AUTOKEY.ASM).

The entire contents of the January 1989 issue of PCResource is
(c) Copyright 1988 by IDG Communications/Peterborough, Inc.

Hardin Brothers is PCResource's West Coast editor. Write to him at
280 N. Campus Ave., Upland, CA 91786. Enclose a self-addressed, stamped
envelope for a reply. You can also reach him through Compuserve's Easyplex
at 70007,1150.

AUTOKEY performs a similar function as the program I've heard of called
KEYFAKE. Basically, it stuffs the DOS keyboard buffer with keycodes you've
put in a "script" file. A program must be "well-behaved" with respect to
keyboard input to work with AUTOKEY -- MSKERMIT is a good example of a
program which is well-behaved. A sample key-script file is included. Note
that AUTOKEY is case-sensitive when typing special non-printing keycodes
like 'cT' in the script file. Refer to "code_table" in AUTOKEY.ASM
for all the special keycodes. The special keycode NL causes a one-eighteenth
second pause.

Restrictions:

1. Some programs empty the BIOS keyboard buffer before waiting for input.
For those programs, just add an extra keystroke like 'xy' instead of
'y' in the script.
2. Never run AUTOKEY after 'shelling-out' to DOS. Never run the program
from a batch file called by another batch file (this goes for any TSR
program, by the way, not just AUTOKEY).. It's OK to run the program from
a batch file, but don't let that batch file start another.
3. Don't use AUTOKEY to start a batch file.
4. Don't run TSRs with AUTOKEY.

Other notes:

"It works good." I dunno about you, but I liked it...



 January 3, 2018  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)