Dec 292017
 
Keyboard macro program -- small and simple.
File DKEY120.ZIP from The Programmer’s Corner in
Category Utilities for DOS and Windows Machines
Keyboard macro program — small and simple.
File Name File Size Zip Size Zip Type
DK.COM 2352 1895 deflated
DKEY.DOC 5589 2374 deflated
DKEY.EXE 13665 8581 deflated
DKEY.MAC 217 174 deflated
DKEYDEMO.BAT 79 67 deflated
DKHOTKEY.COM 4898 3518 deflated
DOS.MAC 2967 1071 deflated
KEYLIB.ASM 2927 1036 deflated
STRUCT.MAC 2462 929 deflated

Download File DKEY120.ZIP Here

Contents of the DKEY.DOC file


DKEY documentation


DKEY was designed as a very small replacement for Prokey or SuperKey
type programs. It does not contain many of the bells and whistles of
these other products, but in it's default configuration it consumes
only 3.1k of RAM - this includes a 1k macro buffer. Use it in good
health, and feel free to share unmodified copies.





Version 1.20 7-10-88 SideKick access added (see #12 below). Bug
fixed relating to redefining <9>.

Version 1.10 2-24-88 Yet another bug fixed relating to '<' and '>'

Version 1.09 2-16-88 Fixed bug relating to keycodes > 127

Version 1.08 2-9-88 Numeric keypad keys 0-9 . + - now generate
distinct codes during macro playback.

Version 1.07 10-5-87 Bug fixed relating to changing '<' and '>'.

Version 1.06 7-11-87 Update to allow for changeable 'Hot Key'.

Version 1.05 5-26-87 Bug fixed which caused files created by
certain text editors to be mis-read.

Version 1.04 5-4-87 Bug fixed in display portion where
computer would crash if length of macro
definitions exceeded 256.

Version 1.03 7-25-86 Original shareware release.




1) Install the resident portion of DKEY by typing
DK n
where n is the size, in kbytes, that you want for the macro
buffer. If n is not specified, 1k will be allocated for the
macro buffer. 62k is the maximum allowed.

2) If DK is already resident, it will tell you so.

3) To define a new macro:

a) Press ^\ (Control backslash) DKEY will announce its
readiness to accept a definition by printing DKEY:

b) Press the key to be redefined. (Any keystroke that BIOS
accepts is OK). DKEY will echo your choice & begin accepting
definition characters. The screen will appear as:

A>DKEY: <^A> = "

c) Enter any series of keystrokes for the definition. Pressing
RETURN enters a return into the macro and advances to the
next screen line. The backspace key will allow you to correct
errors. Note: The display will not backup past the beginning
of a screen line but keystrokes will continue to be deleted.

d) Terminate the definition by pressing ^\ again.

e) Please note that all this happens "off-line" to any
program running at the time, including DOS.


4) To redefine a key which already has a macro assigned to it, merely
repeat the definition process, nothing special is required.

5) To restore a key to its non-macro state, enter ^\ key ^\

6) To reset the entire entire keyboard to its non-macro state,
enter ^\ ^@ ^\ (^@ enters the DKEY Command mode, but RESET is
the only command currently implemented.

7) To stop a macro while it is running, press ^\

8) To display any existing macros, type 'DKEY'.

9) To save the current macros for later use, type 'DKEY >filespec'.
This saves the display to a file which can be editted or added
to. To create your own macro file, merely follow the example
given by DKEY when it writes to a file.

10) To load a macro file, type 'DKEY filespec'. This invocation erases all
previous definitions. To load a macro file but maintain the previous
definitions (merge), type 'DKEY filespec -m'. The existing definitions
will be maintained except where a key is given a new definition in the
file being loaded. The merge option indicator may be upper or lower case,
may occur before or after the filespec. '-' or '/' may be used as the
option switch.

11) To manipulate DKEY from a C program, see KEYLIB.ASM

12) In version 1.2, SideKick access was added. This allows a macro
to call up SideKick and even enter keystrokes. This feature is
accessible only from a loaded macro and cannot be inserted
directly into a macro being created on the keyboard. The
following example is a macro which will enter the SideKick
notepad, move to the end, create a new line, enter the current
time and date and position at the end of that line.

<`> = "<^Q>o<^Q>d "


Please note that this requires SideKick version 1.50 or greater.
No harm is done if SideKick is not resident.



13) To change the 'Hot Key' ( default is ^\ ), insure that the two
files: DK.COM and DKHOTKEY.COM are in the default directory.
At the DOS prompt, type 'DKHOTKEY'. At the prompt, enter the key
combination you want to be the new 'Hot Key'. Note that not all
key combinations are acceptable to BIOS. If you press a
combination and nothing happens, it probably means that the
combination you pressed is not acceptable. The copy of DK.COM
will then be updated. To activate the program with the new 'Hot
Key', reboot using the new copy of DK.COM. (This change is in
response to the Tandy 1000 which does not use the same code for
^\ as the IBM PC. Thanks to C. J. Mitchell, Jr. for
bringing that fact to my attention.

14) If you find this program useful, a donation ($10 recommended)
would be most welcome.

Digital Mechanics
5347 Arlington Dr. W.
Hanover Park, IL 60103




* SideKick is a trademark of Borland International


 December 29, 2017  Add comments

Leave a Reply