HDTenEightyP/NetNews huggingface dataset:
From: thor@teetot.acusd.edu (Mr. Nelson Thor Brickman)
Newsgroups: comp.sys.mac.hypercard
Subject: SuperCard FTP site.
Date: 1 Sep 92 13:11:57 GMT
Article-I.D.: teetot.1992Sep1.131157.26933
Distribution: usa
Organization: usd

There is now am FTP site for SuperCard applications, utilities, etc.
The address is teetot.acusd.edu.  It is an anonymous FTP setup and the
SuperCard stuff is in /pub/mac/Supercard.

New items are coming in slowly, please send me anything you think might
prove useful to somebody else.

Thor

-- 
It's all small shit.
Thor
( Gopher trainer )
Newsgroups: comp.sys.mac.hypercard
From: bj356@cleveland.Freenet.Edu (Rick E. Dieringer)
Subject: Re: Visual Effects and the Quadra?
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Date: Wed, 26 Aug 92 04:05:33 GMT


Ah, the disappearing visual effects on the Quadra problem... This
bugged me for some time, too, and then I got the following explanation
from Claris:
1) They will not work when a stack stretches between two monitors.
2) They will not happen when going from one stack to another, if both 
stacks are already open, or if the stacks are of different rectangular
sizes.
3) They will not work with millions of colors (most likely your problem).
4) They may not work on a Radius Pivot monitor ("Enable Landscape" must be
turned off).
I hope that answeres your question.
-- 
Rick Dieringer
usr0563a@tso.uc.edu
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: NULL legal in paramPtr->returnValue field?
Date: 24 Aug 92 15:35:40 +1200
Followup-To: comp.sys.mac.hypercard
Organization: University of Waikato, Hamilton, New Zealand

In article <jpugh-120892175039@90.20.3.213>, jpugh@apple.com (Jon Pugh) writes:
> In article <9786@uqcspe.cs.uq.oz.au>, tonyg@cs.uq.oz.au (Tony Gedge) wrote:
>>
>> I have a quick question about legal values in the returnValue field of
>> the XCmdBlock record.  If no result is to be returned from a XFCN, is
>> it legal to set this handle to NULL, or should a handle containing a null
>> string be assigned to it?
>
> NULL is perfectly fine.
>
> Jon

In fact, its initial value is already nil (or NULL, if you insist). So if
you want to return an empty string, you don't actually have to do anything.

Lawrence
been doing this since 1987.
Xref: sparky comp.sys.mac.hypercard:3325 comp.sys.mac.misc:15768 comp.sys.mac.wanted:7998
From: dsr@bnr.co.uk
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.misc,comp.sys.mac.wanted
Subject: Wedding Pictures!
Date: 1 Sep 92 14:37:07 GMT
Reply-To: dsr@bnr.co.uk ()
Organization: BNR Europe Limited, London Road, Harlow, Essex, GB

I'm looking for pictures/images of things which one might put on a
wedding invitation.  You know, horshoes, flowers, rings etc.. I've
had a look through the art bits on hypercard but would like to see
other possibilities.

Has anyone got such things or indeed any wedding invitations that
you've set up yourselves?


   Dave Riches
   Email:  David.S.Riches@bnr.co.uk
   Smail:  BNR Europe Ltd, London Road,
           Harlow, Essex. CM17 9NA.  England
   Phone:  +44 (0)279-402496
   Fax:    +44 (0)279-451434
From: kevinb@wrc.unr.edu (Kevin Brewer)
Newsgroups: comp.sys.mac.hypercard
Subject: XCMD/XFCN Help - StrToExt and ExtToStr
Keywords: XCMD, XFCN, extended
Date: 28 Aug 92 20:37:36 GMT
Reply-To: kevinb@wrc.unr.edu ()
Distribution: usa
Organization: Desert Research Institute, University of Nevada

I have a (hopefully) simple problem that is driving me crazy. I am
trying to program some XCMDs and XFCNs in Think C 5.02 for HC2.x.

My problem is in using StrtoExt and ExtToStr so I can pass floating 
point numbers in and out of the function. I am not sure where my
problem is, whether it is my xcmd header file (since it seems to be 
different than the manual), or if I am blowing it with my types (my
understanding of Apple's extended type and of all things pointers is
not what it should be...). Any help would be GREATLY appreciated.

Here are the essentials(?):

    The header file I have is HyperXCmd.h and has the lines:
    (got this file from the net, seems to work for other calls. I use
    it in conjuction with HyperXLib, MacTraps, and Sane libs )

pascal void StrToExt(XCmdPtr paramPtr, double *num, StringPtr str);
pascal void ExtToStr(XCmdPtr paramPtr, double *num, StringPtr str);

    In my function file, I have:

/* definition statements */
XCmdPtr   paramPtr;
double    *dPtr, dnum;
StringPtr sPtr;
...
/* where the real work begins */
ZeroToPas(paramPtr,*(paramPtr->params[0]), sPtr);
/* I know I have a float as the first parameter passed to the xfnc. */
StrToExt(paramPtr, dPtr, sPtr); // is this correct?
dnum = *dPtr;
...
/* use math on dnum to change it */
...
/* now try to send dnum's value out of the function... */
dPtr = &dnum;
ExtToStr(paramPtr, dPtr, sPtr); // is this correct?
paramPtr->returnValue = PasToZero(paramPtr, sPtr);
/* end of function */

Email or post -- you decide... :-)
Thanks - kevinb@wrc.unr.edu
Kevin Brewer        | Hydrology/Hydrogeology Program, University of Nevada, Reno
kevinb@wrc.unr.edu  |    Water Resources Center, Desert Research Institute, Reno
  "Confusion is a word we have invented for an order which is not understood."
	  -- Henry Miller
From: KGODDEN@cmsa.gmr.com
Newsgroups: comp.sys.mac.hypercard
Subject: Re: printScripts Handler?
Date: 26 Aug 92 14:10:08 GMT
Organization: GM Research Labs

In article <1992Aug25.214643.16502@ncar.ucar.edu>
tres@roke.rap.ucar.edu (Tres Hofmeister) writes:

>
>
>	Where is the ps or printScripts handler which Danny Goodman
>mentions in his HyperCard 2.0 book?  It's supposed to be in the home
>stack, and allows one to print all of the scripts in a stack.  I'm
>using version 2.1, and a string search on my home stack doesn't turn
>it up.  Any ideas, or suggestions on how to implement such a
>handler?
>
Several people have posts right now asking for such a thing.  I have on my
computer a stack called "Print the Scripts" written and copyrighted by
Richard Crispin in 1991.  I have no idea where I found it, but it says under
the copyright notice "May be freely used and given away but not sold,..."

You can contact Mr. Crispin at psych@watserv1.uwaterloo.ca or at
psych@watdcs.uwaterloo.ca.  I would imagine he has binhex'd versions he
could email to you.

Incidentally, last week I used this stack for the first time and it seems
to work just fine.  It makes a couple of files on your hard disk, indicating
the location of a given script (e.g. a particular bg btn), followed by the
script.  I seem to remember (correctly, I hope, but I don't guarantee this)
that when you invoke the stack, it warns you that if you actually use the
PRINT option on the stack, you may have problems.  I didn't do it myself,
I just dumped a text file onto my disk.  The stack is extremely easy to use.

Hope this helps all of you.
-Kurt
From: deslade@vaxsar.vassar.edu
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Finding field with index
Date: 2 Sep 92 08:40:15 GMT
Organization: Vassar College

In article <1992Aug31.060028.18430@newsman.csu.murdoch.edu.au>, murdoch, WA,
Australia (kywong@csuvax1.murdoch.edu.au(Khoon Yoong Wong)) writes:

> I have a problem and need help. My stack has an index card with a locked field
> that contains the names of all the cards. The user clicks on a name and it
> takes the user to the card requested. My script says:
> 
> on mouseUp
>   select the clickLine
>   find the value of the clickLine in bg field "cardName"
> end mouseUp
> 
> The problem is this: I have two cards called Hypertext on Scrolling Field and
>  Scrolling Field separated by many cards in between. 
> when I click on the second one, it always take me to the first one.
> This happens with all the cards that share a common part.
> What can I do to solve this?
> Many thanks.
> 

What about a different approach?  Use a hidden field to hold the ID's of the
involved cards.  Just put the following handler (or some derivative of it) into
your "Index" field:

  on mouseUp
    if the optionKey is up then
      put word 2 of the clickLine into Destination
      go (line Destination of fld Hidden)

    else
      -- The following lines gather card names and ID's and place them
      -- correctly in the two fields "Index" and "Hidden".  "Hidden" is a field
      -- that I assume will always be invisible to the user.  If "Index" is
      -- on the first card of your stack, you may want to have x=2 to the
      -- number of cards, not x=1.

      repeat with x=1 to the number of cards
        put the short name of card x into line x of TheNames
        put the id of card x into line x of TheIDs
      end repeat
      
      -- If "Index" is a background field then make "Hidden" a background
      -- field and change the following two references of CARD FIELD to just 
      -- FIELD.  If you have "Index" and "Hidden" in the background make
      -- sure that both fields have their sharedText property turned on.

      put TheNames into CARD FIELD "Index"
      put TheIDs into CARD FIELD "Hidden"
    end if
  end mouseUp

If you want a whole HyperCard example, I wrote a small stack to make sure it
could be done.  I could BinHex it to anyone interested.

-- 
+----------------------------------------+----------------------------------+
|                                        |   Standard disclaimer for rent.  |
|  Dennis Slade Jr.                      |         +++++++++++++++          |
|  Box 3533, Vassar College              |         Inquire within.          |
|  Poughkeepsie, NY  12601               +----------------------------------+
|  internet: deslade@vaxsar.vassar.edu   |      Develop the world...        |
|  bitnet:   deslade@vassar.bitnet       |    Develop yourself...           |
|                                        |  AIESEC: in a country near you!  |
+----------------------------------------+----------------------------------+
Newsgroups: comp.sys.mac.hypercard
From: sro@media.mit.edu (Shawn O'Donnell)
Subject: Re: First 80 chars?
Organization: M.I.T. Media Laboratory
	<1992Aug25.212254.6548@news.uiowa.edu>
Date: Wed, 26 Aug 1992 03:39:03 GMT

Oops... I forgot... "line 1" of a container is all of the text up to
the first return.  I don't know how to get what looks like it should 
be line 1.  Perhaps you have to do the messy thing I suggested, unless
someone knows of a way to get non-return-delimited lines from containers.

--Shawn
Newsgroups: comp.sys.mac.hypercard
From: gleeson@mundil.cs.mu.OZ.AU (Red Mountain)
Subject: Printing scripts from stacks (may be a FAQ, sorry!)
Organization: Computer Science, University of Melbourne, Australia
Date: Wed, 2 Sep 1992 12:08:04 GMT

Hi All,

   Just wondering if there is a way (or a utility) to dump the scripts
for btns, bkgds, fields, etc from a stack to a file or whatever. I haven't
been able to find a FAQ, so if there is one, could someone please point me 
in that direction...

Thanks muchly,
Marty.
----------------------=============***O***=============-------------------------
Martin J. Gleeson   | Computer Science, Melbourne Uni, Oz |    ...  __o    Outta
gleeson@cs.mu.oz.au |  E Pluribus Unix  |  BIKE  IT   !!  |  ...   -\<,       my
" We gladly feast on those who would subdue us." - Addams |  ....(_)/(_)..  way!
 "I can't give you brains, but I can give you a diploma." - The Wizard of Oz
----------------------=============***O***=============-------------------------
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: "Too many pending messages" Error?
Date: 24 Aug 92 15:33:14 +1200
Organization: University of Waikato, Hamilton, New Zealand

In article <1992Aug11.110751.14578@uva386.schools.virginia.edu>, wayne@uva386.schools.virginia.edu (Tony Wayne) writes:
> I writing a hypercard stack that runs like a slide show.  The
> user is not to pess any buttons.  In fact, when done the
> computer will be on the other side of a window.  Here the rub.
> While running the program I get an error -debug, script,
> cancel- box that says "Too many pending messages."  What does
> this mean and most importantly how can I get rid of it?
>
> I backed up to the previous card and the stack began running
> again. But this time it didn't show me the error box.  The
> error box only shows up when I begin from the beginning ofthe
> stack. Appearantly after running through so many card scripts.
>
> The stack is written by using "On OpenCard" scripts on each
> card.
>
> Suggestions?
> -Tony Wayne

How about using an Idle handler to switch cards, rather than doing it
from within OpenCard handlers? This way you won't too deep a nesting of
OpenCard calls.

Lawrence D'Oliveiro                       fone: +64-7-856-2889
Computer Services Dept                     fax: +64-7-838-4066
University of Waikato            electric mail: ldo@waikato.ac.nz
Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
Newsgroups: comp.sys.mac.hypercard
From: ttak@ellis.uchicago.edu (toki  takeuchi)
Subject: SuperCard 1.6 needs much improvements
Reply-To: ttak@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Fri, 28 Aug 1992 20:48:30 GMT

I got SuperCard 1.6 expecting to see a HyperCard 2.1
compatible product, but I was GREATLY disappointed by
the apparent lack of effort put into it.  SuperCard 1.5
had too many holes, and SuperCard 1.6 failed to patch them.

Is SueprCard 1.7 on the way?  I hope I will find it
a little more acceptable this time.

Kenji T.
From: wangji@lab.ultra.nyu.edu (Jiarui Wang)
Newsgroups: comp.sys.mac.hypercard
Subject: Need help on playing sound of arbitrary frequency
Date: 28 Aug 92 19:27:40 GMT
Organization: New York University, Ultracomputer project


Is there a XCMD out there that will take a frequency as argument and
produce a sound of that frequency. The sound can be just a beep.

Please send answer through email to wangji@lab.ultra.nyu.edu


Thanks,
From: tron@apple.com (Tantek Celik)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: First 80 chars?
Date: 26 Aug 92 20:12:35 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <1992Aug24.004837.1638@news.uiowa.edu>, ffang@newsuiowa.edu
(Francis Fang) wrote:
> 
>Isn't
> there something that allows me to write the equivalent of :
> 
>    put the first 80 chars of cd fld "xxxyyyzzz" into <a container> ?
> 

-- Try:

put char 1 to 80 of cd fd "xxxyyyzzz" into <a container>
-- as you put it

-- Tantek

> 
> Thanks in advance.
> Frank.

you're welcome.

tron@apple.com

THE OPINIONS CONTAINED HEREIN ARE THOSE OF MY OWN, NOT OF MY USER OR
SYSTEM.

END OF LINE.
From: jkc@Apple.COM (John Kevin Calhoun)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Answer returing the wrong address of app
Date: 4 Sep 92 00:30:04 GMT
Distribution: usa
Organization: Apple Computer Inc., Cupertino, CA


In article <1992Sep3.180916.7454@nntp.uoregon.edu>
eric_gorr@coglab_psych.uoregon.edu (Eric Gorr) writes:
>Below is some hypertalk code that returns the address of another app of
>mine which is in memory. The address that gets returned is:
>
>    Psych Cognitive Lab::Head Modeler2
>
>It's the double colon between Lab and Head that I think is causing the
>error for the code which coverts this address using AECoercePtr.
>AECoercePtr returns the error -1700.

The problem you described occurs when the machine has no
machine name.  Open the Sharing Setup control panel, give
the machine a name, and all will be well.

Kevin Calhoun
jkc@apple.com
From: Glen.Stewart@f175.n2240.z1.ieee.org (Glen Stewart)
Newsgroups: comp.sys.mac.hypercard
Subject: Writing Nulls to a file
Date: 25 Aug 92 14:17:44 GMT
Organization: FidoNet node 1:2240/175 - The Associati, Grand Blanc MI

HyperCard refuses to write Null (ASCII 0) to disk.  In fact, if you've ever
experimented by putting one in a stack script, you'll come back to find
everything following that character gone! )-:

Does anyone know where there is an XCMD or XFCN that will write a null to a
given file?  Be really nice if it would also take a quantity argument - like
512, to write that many all at once.

Thanks!


--  
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
 Glen Stewart - Internet: Glen.Stewart@f175.n2240.z1.ieee.org
From: gt4650c@prism.gatech.EDU (Tim Anderson)
Newsgroups: comp.sys.mac.hypercard
Subject: Networking and Hypercard?
Date: 2 Sep 92 14:07:53 GMT
Distribution: usa
Organization: Georgia Institute of Technology

I'm wondering what kind of support Hypercard or SuperCard have for 
communication across Appletalk?  Are there some good XCMD's out there
to do that?

The reason I'm asking is that I am thinking about developing a pretty
big program for use as an instructional tool and I would like to be 
able to have six students running programs simultaneously and exchanging
information.

Along the same line, how hard is it to have a CD-ROM program save 
status information to the hard drive?

I hope these questions aren't too obvious, my only Hypercard programming
was in the pre 2.0 days.  

Tim Anderson

Newsgroups: comp.sys.mac.hypercard
From: byrne@terminus.gatech.edu (Michael Byrne)
Subject: Re: version XCMD?
Organization: College of Computing
Date: Fri, 4 Sep 1992 19:10:32 GMT

In article <92247.190205DSB109@psuvm.psu.edu> DSB109@psuvm.psu.edu (Douglas Brooks) writes:
>Does anyone know if there is an XCMD that will return the information in the
>'VERS' resource in a file...specifically the VERS resource in stack itself?
>
>I know the System 7.0 Compatibility Checker stack had something like that,
>but is there anything that is free for use?
>
>Thanks!
>
>Douglas Brooks
>Penn State

Compatibility Checker uses the FileVersion() XFCN that is part of 
Support Tools eXternals which is free for private use and may be 
licensed for commercial distribution for $50 (at least, it used to
be $50 for licensing XThings).  Contact SW.LICENSE@applelink.apple.com
for info on licensing.

-XCommander

============================================================
Mike Byrne                               byrne@cc.gatech.edu
Grad student in Psychology/Cognitive Science
25947 GA Tech Station, Atlanta, GA 30332

----->>>>    "Only the mediocre are always at their best."
					
Newsgroups: comp.sys.mac.hypercard
From: ffang@newsuiowa.edu (Francis Fang)
Subject: Re: First 80 chars?
Date: Tue, 25 Aug 1992 21:22:54 GMT
Organization: University of Iowa, Iowa City, IA, USA
X-Newsreader: Tin 1.1 PL3

sro@media.mit.edu (Shawn O'Donnell) writes:
: Hey Frank--
:   If you want to go the route of munging the field in blocks of 80
: characters, you can do better than "char 1 to 80 of <container>".  You
: 
: 
: 
: on mouseUp
:   put empty into cd fld "destination"
:   put cd fld "source" into BufferContainer
: 
:   repeat until BufferContainer is empty
:     repeat with j = 5 to 20  -- some reasonable range for wds/line
:       if the length of BufferContainer < 80 then
:         put BufferContainer after cd fld "destination"
:         put empty into BufferContainer
:       else
:         if the length of (word 1 to j of BufferContainer) > 80 then
:           put word 1 to (j-1) of BufferContainer & return after [opt-return]
:           cd fld "destination"
:           delete word 1 to (j-1) of BufferContainer
:           exit repeat
:         end if
:       end if
:     end repeat
:   end repeat
: end mouseUp
: 
: This won't do all the formatting you're likely to want to have done--
: for example, this script will miss carriage returns that you've
: inserted for formatting.  You'd have to fix all those sorts of things
: by looking for returns in the source field.  But don't bother...
: 
: ALL OF THIS IS UNNECESSARY!!  LET THE MAC DO ALL THE WORK FOR YOU.
: 
: You can create an invisible field, set its font to Monaco, 9 pt and
: set its width so that the maximum number of characters per line is 80.
: Then you put the text of the real field into the invisible field, and
: you 
: 
: repeat with j = 1 to the number of lines in fld "invisible"
:   put line j of fld "invisible" into line j of <the mini's field>
: end repeat
: 
: The line breaks will be at word boundaries, and any empty lines will
: be transferred intact.   If you don't mind looking at Monaco, you 
: could just set the source field to Monaco, 9 point, 80 characters
: wide and skip the invisible field.  
: 
: 
: 
: So tell us how all of this works when you tranfer it to the mini.
: 
: --Shawn
: 
Hey Shawn,

Thanks for the ideas. I've read your note 3 times and I'm not sure if
you meant for me to try the first part or not (the part with the buffer
container and all that). But I had already tried the second part (that
with the invisible fixed pitch font field). The only problem with that
idea was that when I put the source fld into the "invisible" fld,
although it looks great on the screen and in the correct format (the
lines break in the right places) when I say something to the effect of 

put line 1 of cd fld "invisible"       

Hypercard still returns the entire paragraph. Seems like I used to be
able to say line n of the fld and have it return just the line as it is
formatted on the screen but not anymore. Maybe some setting on my copy
of Hypercard 2.1 is messed up.

Let me know if you have any ideas as to why the above put statement
returns the entire paragraph as opposed to just the line like what we
want.

Later.
Newsgroups: comp.sys.mac.hypercard
From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
Subject: HC 2.1 "sort" command
Organization: NASA/ARC Information Sciences Division
Distribution: comp.sys.mac.hypercard
Date: Thu, 3 Sep 1992 22:45:21 GMT

Hey, macnetters:

I have a simple question I hope you can help me to answer.

Suppose I have a script with the following line:

put "name 2" & return & "name 5" & return & "name 21" & return &
   "name 1" & return into abc

and I want to sort the lines in that var by the number which is the last word
of each line.

We have tried just about everything we can think of, (short of an XCMD ;-> )
and cannot get hypercard to do this sort for us.  BTW, HC 2.1, sys 7,
mac IIcx.

We have tried everything outlined in clarus's HC2.1 book and kamin's
HC2.0 book, and either it tells us it doesn't understand arguments
to sort or appears not to sort, after pausing briefly.

Before you rush off and send in your "hey, you dummy" response, give
it a try on YOUR system.

We look forward to being set straight.

joshr@kronos.arc.nasa.gov
-- 
----------------------------------
#include <std/disclaimer.h>     Josh Rabinowitz, Mac TCL programmer
joshr@kronos.arc.nasa.gov
"Me lost my cookie at the disco." -- Cookie Monster
Newsgroups: comp.sys.mac.hypercard
From: Glen.Stewart@f175.n2240.z1.ieee.org (Glen Stewart)
Subject: RE: Software to make stacks into an application
Organization: FidoNet node 1:2240/175 - The Associati, Grand Blanc MI
Date: Tue, 18 Aug 1992 14:11:46 GMT

I have a demo of such a program here on the BBS.  Look in the hypercard
directory.


--  
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
 Glen Stewart - Internet: Glen.Stewart@f175.n2240.z1.ieee.org
Newsgroups: comp.sys.mac.hypercard