SHORTIES\HILITE.DOC ·
DOC ·
2.2 KB ·
1989-05-08 ·
from PCPlus_Issue-36_Sep_1989-FluxEngine-360kB
HILITE Version 1.0 (C) Prometheus Developments, May 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
(#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
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 will cause ERRORLEVEL=0
A summary of syntax can be obtained by typing HILITE on its own.
At about the end of May, another of our programs shall be available:
ARROW. This program allows the mouse to be used to select items on the
screen. Unlike HILITE, the menu is not restricted to a rectangular area -
the items can be any size. ARROW works in two modes: from a command line
and from a menu-file. Using the command line to define your menu means
that operation is similar to HILITE. But using a menu-file opens many new
doors, allowing varying size menu-items anywhere on the screen. ARROW is
extremely versatile and is easy to use. It shall cost five pounds for the
5¼ inch version, and six pounds for the 3½ inch version. If you send your
own disc, it will be only four pounds. If you have any suggestions to make
for this program, or would like more information about ARROW or any of our
other projects, please send an SAE to the address below:
Ewan MacIntyre ;This is not our HQ address.
27 Louisa Drive,
Girvan,
Ayrshire.
KA26 9AH
If you really must send a cheque now, make it payable to Ewan MacIntyre.