[comp.sys.mac.hypercard] Various Replies

bmenell@pnet06.cts.com (Bryan Menell) (06/14/88)

>looking for hypercard on ibm pc

     I talked to Scott Shwarts of Symmetry Corporation at HyperExpo, and
he says that Macintosh Today made a bigger deal of the story than
was required. Not only would you have to interpret the HyperCard
file format (which they have done) but also include lots of ROM
routines. It would be very difficult, at best.

>showLines doesn't seem to work with scrolling fields.

     Your question was brought up at HyperExpo also, and Bill Sez that
is because he is relying on textEdit to handle all the field information.

>Has AHUG written any more Windoid issues. I have six.

     I just talked to David Leffler of the HyperCard testing team and
past president of AHUG. He is also editor of Windoid. He has been
trying to get issue #7 together for a while, but has been delayed.
He says he will have it done in the next week or two. It will be
about 20 pages long, as opposed to the usual 5 to 10. He has been
exceptionally busy getting version 1.2.1 out. I personally enjoy
the Windoid issues a lot.

>"Save a copy..." from a script.

     A fellow by the name of Guy de Picciotto has written several
XCMD's and XFCN's including ones to copy files, create new folders,
read the disk catalog etc. It is available on CompuServe or GEnie.
For details, check out a stack I created called the "XCMD Register."
It contains a 40K stack telling you about 65 XCMD's and XFCN's
what their legal status is, and what their download names are on
the two services. You can also get it free with several XCMD's
by sending me a disk and an SASE. Else send a check for $4 to cover
disk, mailing, postage, and handling. There was an article in MacWEEK
about my service for further info.

Bryan Menell, Pisces Publishing
17155 Newhope, Suite B
Fountain Valley, CA 92708
(714) 540-6744    Fax: (714) 540-6936
CServe 72307,2100  GEnie B.MENELL   Alink D1319


UUCP: hodge.cts.com!pnet06!bmenell
ARPA: hodge!pnet06!bmenell@crash nosc.mil
INET: bmenell@pnet06.cts.com

bmenell@pnet06.cts.com (Bryan Menell) (06/21/88)

>I need a function CardExists(cardName).

   There is a real simple way to do this. HyperCard now returns all
errors in the result. So you can "go to card cardName" and if the
result is "no such card" then handle it appropriately.

>HyperMedium as an intruction manual.

   I think the tutorial for Migent's In-House Accountant was one of
the first to be done in HyperCard. There are many people doing this
now including Claris! As for instructions on something other than
a software program, try Kinkos Academic Courseware Exchange for
stacks on various topics.

>Trapping keypresses.

   Guy de Picciotto's INKEY external command works great. It is available
on most services. You can find it and many other external commands
in my XCMD Register stack. Send me a disk and a SASE and you'll get it free.

>Unexpected error 54321 and "Sorry"

   This usually happens when you are playing with the "debug writeon"
and "debug writeoff" commands that are undocumented commands in
version 1.1 ONLY. They turn writing to the disk on and off. Make sure
those commands are not in your stack anywhere. A good way to check would
be to run the stack under 1.2 and wait for "Cant understand debug"
to show up.

>Miniature sized set of relevant cards

   Copy a card, and when you choose Paste, hold down the command and
option keys (I believe). Those may not be the exact keys, but it is
a combination of command/shift/option while you are choosing Paste.
That will put a miniature picture of your card on the screen. You
can easily write a script to paste many of them onto a blank card.
I will post the code if you like.

>Printing on the IISC from HyperCard 1.2

   There is a bug in HyperCard version 1.2 that will not allow it to
print on the LaerWriter IISC correctly, or sometimes at all. The
only solution is to upgrade to HyperCard version 1.2.1 (the
most current release).

+-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-+
Bryan Menell, Stackhead              UUCP: hodge.cts.com!pnet06!bmenell
Pisces Publishing/HyperMedia Group   ARPA: hodge!pnet06!bmenell@crash nosc.mil
(714) 540-6744  Fax: (714) 540-6936  INET: bmenell@pnet06.cts.com
          -=> CServe <72307,2100> GEnie [B.MENELL] AppleLink: D1319 <=-

              "Bill Atkinson is as close to a God as you can get!"
+-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-+

bmenell@pnet06.cts.com (Bryan Menell) (07/12/88)

First of all, thanks to Edward Moy, Tim G. Johnson, and Dave Nowak for
responding to my TOPS/hypercard problems. It's all being included
in a little information packet to the HyperCard team.

How can I put a TIFF image into a card? Or can I only use Macpaint format
>images?  Is there a way to write a XCMD that would display a TIFF file?

   HyperCard only accpets MacPaint images. You can write an XCMD to
display TIFF files, of course! Or you could think of converting them
to PICT and using DisplayPict, an already-written XCMD. I wish I could
remember the authors name to credit him/her, but it is available on
most BBS's and commercial on-line services.

>Re: Too much recursion.

   Usually what happens is you are trapping "on openCard" in your stack
script, and in that script is a "go to next card." Of course, that
calls openCard again, executes your openCard script (even though it hasn't
quit out of the last one yet) and after 5 times or so, you get your
recursion error.
   If your script was in the card script area, you wouldn't get this
problem. You might also try researching the "lockMessages" command
in HyperTalk. This will temporarily turn the sending of messages
up the HyperCard hierarchy. I've found it useful many times myself
in these situations.

                                        Bryan

+-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-+
Bryan Menell, Stackhead              UUCP: hodge.cts.com!pnet06!bmenell
Pisces Publishing/HyperMedia Group   ARPA: hodge!pnet06!bmenell@crash nosc.mil
17155 Newhope, Suite B               INET: bmenell@pnet06.cts.com
Fountain Valley, CA 92708            CI$ <72307,2100>         GEnie [B.MENELL]
(714) 540-6744  Fax: (714) 540-6936              AppleLink: D1319

"We just can't spend the money fast enough." -Gassee at Spring Developers Conf
+-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-+