home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
pcmag
/
vol4n09.arc
/
ONEKEY.DOC
< prev
Wrap
Text File
|
1986-09-11
|
3KB
|
61 lines
ONEKEY Steven Holzner
Command (after running .BAS version)PC Magazine Vol 4, No 9
Copyright 1985 Ziff-Davis Publishing Company
______________________________________________________
Purpose: Reassigns a designated series of keystrokes
to a user-selected keystroke.
Format: ONEKEY
Remarks: ONEKEY is a memory-resident keyboard macro
program. While written in assembly language,
it is presented here with a BASIC interface
that need be run only once, but which
facilitates entering the trigger keys you
want to use and the sequences of keystrokes
they will replace. ONEKEY will accept up to
30 different trigger keys, each of which will
replace up to 50 keystrokes.
When you load and run ONEKEY.BAS in BASIC,
you will prompted to "Type the key to be
replaced." This will be a key you use as a
trigger: Ctrl-N, Alt-Z, F1, or the like.
When you enter this key, you will be
prompted, "The command that replaces this key
is." Here you enter the string of keystrokes
the selected trigger key will execute.
Remember to include all necessary carriage
returns, spaces, and control characters, just
as you would enter them at the keyboard.
When you type Ctrl-End (not a carriage
return) to terminate this sequence, you'll be
prompted for the next trigger key, and so on.
When you have typed in as many macros as you
want, type Ctrl-End when asked for a trigger
key. It takes BASIC about half a minute to
create the ONEKEY.COM file.
Once created, ONEKEY is a regular DOS
command; you enter it at the DOS prompt (or
as a line in your AUTOEXEC.BAT file), not
from BASIC.
Notes:
1. Memory-resident utilities such as ONEKEY
are often incompatible with programs
(XyWrite is one) that themselves take
over the keyboard interrupts. You must
simply experiment to see if ONEKEY can
be used with your software.
2. Requires DOS 2.0 or later.