|
Description
|
Any tokens which appear on the command line will be pushed
into keyboard buffer. The program can be used in either the resident
or non-resident mode. In non-resident mode it pushes the keys
and then terminates. The important point to remember is that
the DOS keyboard buffer is only 15 characters, so that the
non-resident mode cannot push more than this, and it cannot
use the pause (#Pnn) token.
However, in resident mode (install with -i) it can handle up
to 256 keys, and will feed them to DOS as necessary. Also the
buffer can be filled by more than one keypump command. It is
not necessary to place all tokens on one command line. You can
install keypump in resident mode first, and then later push
keystrokes into it whenever needed.
The other powerful feature of the program is the pause token.
This token does not put anything in the buffer, but it tells
keypump to pause for the given number of seconds whenever it
is encountered in the buffer string. This allows you to wait
for programs which periodically flush their input keyboard
buffer.
|
KEYPUMP version 2.00 written by Lincoln Jaros
keypump [options] [token1] [token2] ...
Options (to control KEYPUMP):
-i install resident version of KEYPUMP
-q don't show count on screen when paused (use with -i)
-u uninstall resident version
Tokens (pushed into keyboard buffer):
textstring push characters in text string (no spaces in text)
"textstring" push text string (may have spaces in text)
#nn push keyboard scan code (nn in decimal)
#P... special
#S... KEYPUMP
#D... commands
#C... (see next screen)
Push keystrokes and special commands into the keyboard buffer.
Limited to 15 keys when not resident and 256 when resident (with -i).
Escape strings may appear in textstring tokens to push special
keys into the keyboard buffer:
\n push carriage return
\t push tab
\b push backspace
\e push ESC
\\ push backslash
\nn push ASCII equivalent of nn (nn in decimal)
Special KEYPUMP command tokens executed from keyboard buffer:
#Pnn wait for nn seconds, then continue pushing keys
#Sxx,yy,c,nn wait for c to appear at xx,yy on video screen
optional nn is maximum seconds to wait for c
#Dnn wait for DOS prompt
optional nn is maximum seconds to wait for prompt
#C clear KEYPUMP and BIOS keyboard buffers
KEYPUMP examples when not resident:
keypump my_password \n
login my_name
Push string "my_password" plus Enter key for network login
KEYPUMP examples when resident. Must execute KEYPUMP with -i first to
install resident version:
keypump time \n \n #p5 time \n \n
Execute DOS time twice, pausing between
keypump 5#p1 \b 4 #p1 \b 3 #P1 \b 2 #P1 \b 1 #P1 \b 0
Count down from 5 to 0 at DOS prompt
keypump #S0,24,X,60 CLS \n
Wait for 'X' in lower left corner of screen, then clear screen
keypump #p5 #D dir \n
Wait 5 seconds then wait for DOS prompt, then run DIR
|