home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
PIECES1.ZIP
/
MAKELINK.DOC
< prev
next >
Wrap
Text File
|
1993-08-30
|
9KB
|
180 lines
ABOUT MAKELINK.EXE
MAKELINK.EXE is a program from the kit, PIECES, by Another
Company. With PIECES, you can create just about anything for
IBM-compatible computing. No programming skill is necessary.
See end of this file for more information about PIECES.
What It Does
MAKELINK is for creating link files to be used with
HLINK.EXE, a program which presents an arrow on any graphics
screen and lets the user select the next action taken by your
presentation by pointing to various items you have pictured.
This is how you can design menus and hyperlinked
presentations.
MAKELINK creates a text file containing one or more lines.
Each line contains 4 numbers followed by a filename and then
possibly optional parameters. The 4 numbers outline a
"sensitized area." If the user clicks within this sensitized
area, the filename on the line will be executed.
How To Use It
First you must create a picture to use as a menu. There are
two ways to start MAKELINK.EXE. If your menu picture is
fully contained in a .PCX or .GIF image, you can cause
MAKELINK to project this image when it starts. If your menu
picture is created by a combination of PIECES programs, you
may make a script to make the picture, then have that same
script call MAKELINK.
If you want to use MAKELINK with a .PCX or .GIF image, at
the DOS prompt, type MAKELINK, followed by a space, then the
name of a file which will contain the links, another space,
and finally, the name of the .PCX or .GIF image containing
your menu picture. For the file to contain the links, you can
choose any DOS-legal filename, although names ending in
.EXE, .COM, .GIF, etc would be confusing.
If you want to use MAKELINK directly, make a script file
(typically called by RUN.EXE) which projects your picture
then has a line which calls MAKELINK, optionally followed by
the name of the file which you want to contain the links.
If you do not enter a link filename, you will be prompted
to type a name once MAKELINK starts.
If you use a new name for the link file, a new file will
be created, but if you choose the name of a link file which
already exists, you'll be able to edit existing links or add
and delete links to that file.
When MAKELINK starts, you'll see a menu with several
choices:
HELP - For on-screen information
NEW - To create a new link. You start adding links to a new
file by selecting NEW.
EDIT - To modify the position or filename called by an
existing link. You can move any link, and change what it
does at any time.
DELETE - To get rid of a link.
NEXT - To view the next link in the file. If you are already
looking at the last link, or if there are no links in the
file, nothing will happen when NEXT is selected.
PREVIOUS - To view previous links in the file. Every time
PREVIOUS is selected, you'll see the link previous to the
one being viewed. If you are at the begining of the
file, or if the file is new, nothing will happen.
MOVE - This will move the menu to the lower left corner and
the top bar to the bottom, so that if an important area of
your picture is obscurred, you'll be able to see it. If
the menu and bar are already at the bottom, they'll jump
back to the top.
QUIT - To end MAKELINK.EXE.
Additional Information
When MAKELINK starts, the top bar shows the first link in the
file. If you are using a short video mode, one with only 320
pixels horizontally, the top bar shows only the name of the
file to be executed and optional parameters. In any other
video mode, it also shows the coordinates of the sensitized
area.
If the link file is empty (new), then you will see a blank
bar or one containing nothing but 4 zeroes.
Also shown, unless the file is new, will be a rectangle which
demonstrates the actual sensitized area. If you wish to move
this rectangle for any link, simply select EDIT from the
menu.
There is a 100-link limit to MAKELINK. If you really need
more than 100 links per file, you can make two link files,
then combine them with a word processing program, although a
better solution is to create sub-menus.
You can create or modify link files directly if you prefer.
Use your favorite word processing or text editing program
which works in standard ASCII mode. If you have Microsoft
Windows, you'll find the included NOTEPAD program does this
well. Here's what you have to know to edit link files:
*Each line in a link file contains four numbers, followed by
a filename and perhaps optional parameters.
*Each line must start at the leftmost position on the screen,
there can be no spaces.
*Each line is independent of other lines.
*There must be no blank lines.
*Each line starts with 4 numbers separated by spaces.
They are coordinates marking a rectangular region on the
screen. The measurements are in pixels, ranging from 0 at
the top and left, to full-screen size at the lower right. In
the case of 16-color VGA, for instance, the lower right
corner would be 639 and 479.
If the user clicked a mouse button or pressed [Enter]
when the arrow was within the rectangle, then this is the
line which will be executed.
The first number represents the left edge of the
sensitized area. The second number is the top boundary. The
third is the right edge boundary and the last number is the
bottom.
About Pieces
PIECES is a shareware disk containing several small programs
that can be combined to do a variety of tasks with
a super-professional look and feel. No programming experience
is needed. PIECES can be expanded to incorporate your
favorite programs as well, so it's possibilities for making
and enhancing pictures shows, text presentations, multimedia,
electronic catalogs, teaching materials, executable software,
games, shareware and more are limitless!
You can register as many or as few PIECES as you wish.
Registered users are licensed to copy and distribute the
PIECES along with their finished products. Unregistered
users may copy and distribute the complete unmodified PIECES
package, but may not use only portions of it until purchase
of registration. Use of PIECES beyond 30 days requires
registration.
Most unregistered PIECES programs have an "unregistered"
notice which pops up randomly, approximately every 200 times.
This is removed from the registered versions, and also saves
as much as 3,000 bytes disk space per program.
This software is copyrighted by Jeff Napier of Another
Company, and distributed by Gary Smith of OEC Systems.
The shareware or registered versions of PIECES may be
purchased from Gary Smith at OEC Systems:
Gary Smith
c/o OEC Systems
4646 North Shallowford Road
Atlanta, GA 30338-6304
phone: 404-394-1000
orders only: 800-444-2424
fax: 404-394-1006
BBS: 404-804-7889
MasterCard and VISA accepted
Neither Another Company nor Gary Smith/OEC Systems assume
any responsibility for your use of this product or any
Another Company product.
_____________________________________________________________
end of file.