Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : ONEKEY.DOC

Output of file : ONEKEY.DOC contained in archive : DOCFILES.ZIP

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.


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.

  3 Responses to “Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : ONEKEY.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: