SHORTIES\HILITE.DOC ·
DOC ·
2.8 KB ·
1989-12-01 ·
from PCPlus_Issue-42_Mar-1990
HILITE Version 1.3 (C) Prometheus Developments, December 1989
Written by Ewan MacIntyre
This is a batch-file utility which provides a highlight bar for
selecting items from a menu that has been printed on the screen. The
arrow keys (or mouse) move the bar up and down, and ENTER selects.
Alternatively you may press the first letter/character of the desired
item.
The ANSI screen driver is not required. Note: when this program
is used with resident programs like SideKick, which make regular
interceptions to the keyboard interrupts, the movement of the bar may
not be a smooth as it ought to be.
Syntax: HILITE #1 #2 #3 #4 [#5]
(#1,#2) are the co-ordinates of the top left of the menu (x,y)
#3 is the width of the menu
#4 is the number of items
#5 is the spacing (default=1), ie there is an item every #5 rows
All parameters must be sensible positive integers below 100. 80 column
text modes only.
Exit codes: On exit, ERRORLEVEL will be set to the option selected.
Invalid parameters or pressing ESCAPE/^C will cause ERRORLEVEL=0.
As with most of our programs, typing HILITE with no parameters
will give you details of the appropriate syntax to use. The file
HIDEMO.BAT is a demonstration batch-file. We hope you will find this
program useful in your computer system.
This program has been tested on an AMSTRAD PC1512 with CGA, on an
AMSTRAD PC1640 with EGA and on an AMSTRAD PC2086. It is written to be
compatable with monochrome adaptors too. If you have any trouble with
your particular machine, please write to us and describe your system
and the problem.
We would like to apologise to anyone who found that the version
of HILITE on the September 1989 PC Plus SuperDisk. The problem
appeared to be related to the type of keyboard used, but we eventually
discovered that it was due to the BIOS not restoring unused registers
to their correct values on some machines. The problem has now been
solved. Many thanks to Mr. R.W. Levett of Haslington, Cheshire who
tested the new version for us.
As a company constantly operating a policy of continuous product
development, we find that customer feedback is vital. If you have any
comments about this program, any suggestions for how it could be
improved, any suggestions for other programs you need, or if you would
like to know more about our other software, write to the address
below, enclosing a stamped addressed envelope. Our new pricelist shall
be completed by January 1990, along with information about our On-Disk
Catalogue, which includes program demonstrations.
Ewan MacIntyre
Prometheus Developments
27 Louisa Drive, Girvan, Ayrshire. KA26 9AH