Download get-hypertext-xcmd-11.hqx (11,446 KB)
From: (Jeffrey D. Iverson) j5rson@prairie.lakes.com
Subject: GetHyperText XCMD 1.1
GetHyperText takes four parameters, the id of the field, a flag
indicating a card field, a quoted string indicating the styles of the
hot text, and the id of the cursor to use. The field id is just a unique
number that HyperCard assigns to every object. The flag should be true
if used in a card field, false if used in a background field. The quoted
string can contain any of the characters "biuosce" which stand for bold,
italic, underline, outline, shadow, condense, and extend, respectively.
These characters can be used in any combination. The cursor id is any
valid cursor id (this stack contains a magnifying glass cursor with id =
666, the HyperCard hand cursor id = 128).
In order to make this external work with scrolling fields it is
necessary to check the scroll of the field to see if it has changed. If
it has changed, I force HyperCard to update the screen which in turn
causes it to update the data that the external uses to determine if the
mouse is over styled text.
The idea for this external was a similar external by Stan Gilbert,
however, since I wasn't able to locate him to license his, I had to roll
my own. I hope you like it.
As you move the cursor over certain items of text, the cursor changes to
a magnifying glass. Clicking on this text then could take the user to
another card, another stack, or just pop up some useful information as
I've done.
This external is free for purely personal use. A license fee of $10.00
is required if you use this external in any in-house corporate,
shareware or freeware products. The license fee for unlimited commercial
use in a SINGLE for sale product is $25.00. The license fee for
unlimited commercial use with MULTIPLE products is $100.00.
Permission is hereby granted to all groups who distribute demo software,
either for profit (such as EduCorp) or not for profit (such as a
Macintosh Users Group), to include this file in their collection. My
goal is to get as much exposure for my products as possible, and I
believe that these groups offer an invaluable service to shareware
publishers like myself.
If you have questions or comments we can be reached through the
following:
Iverson Software Co. 507.625.7355
522 Record St. j5rson@prairie.lakes.com
Mankato MN 56001-2546 http://prairie.lakes.com/~j5rson/