HDTenEightyP/NetNews huggingface dataset:
From: M Maxwell
Newsgroups: comp.sys.mac.hypercard
Subject: CthulhuCard
Date: 30 Jul 1992 17:35:20 GMT
Organization: UC San Diego
Distribution: world
NNTP-Posting-Host: irpsws80.ucsd.edu
Summary: subject says it all

Greetings:

Does anyone out there have a copy of a hypercard stack called
"CthulhuCard"?  Apparently it's been out there for awhile, but
i haven't been able to get a copy of it.  (It was supposed to
be a guide to the critters from the game Call of Cthulhu with
scanned graphics and groovy digitised sounds, for those of you
who were curious.)

Email replies to address below.  Thanx.
-------------------
Matt Maxwell
mmaxwell@ucsd.edu

"He took personality tests
 and stapled them to his lower lip"  --Stan Ridgway
From: davids@gardener.lanl.gov (David Simmons)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: XCMD for Hotwords???
Date: 31 Jul 92 15:14:12 GMT
Organization: Los Alamos National Laboratory
Originator: davids@feynman.lanl.gov


In article <1992Jul30.215917.505@ucselx.sdsu.edu>, babb@ucselx.sdsu.edu (babb j) writes:
|> Is there a XCMD (or a good script trick) for defining a certain chunk
|> of string as a hotword, and then performing some action when that chunk is
|> clicked on? IOW, I want to be able to define hotwords much as ToolBook
|> lets me define them.
|>  Thanx. Jeff.
|> 
|> -- 
|> Jeff Babb - Programmer/Technical Support - San Diego State University
|> Language Acquisition Resource Center (L.A.R.C.) (619)594-4475 
|> babb@ucsvax.sdsu.edu  
|> .."now go away or I shall taunt you a second time" M.P.& T.H.G. 

In HC 2.x, this is easy.

on foo
   if the clicktext is <some word> then
	doYOurThing
   else
	doSomethingElse
   end if
   pass foo
end foo

If you want a long string (more than 1 word) then simply choose the
string, set the text style to "group" and when any word in that
group is clicked, the clickText will contain the whole group. Instant
HyperText (sort of...)

Isn't 2.x nifty?!
-- 

David G. Simmons		"There's no problem so awful that you can't
davids@lanl.gov			 add some guilt to it and make it even worse!"
						-Calvin
If I said it, LANL didn't...

-- 

David G. Simmons		"There's no problem so awful that you can't
davids@lanl.gov			 add some guilt to it and make it even worse!"
						-Calvin
Newsgroups: comp.sys.mac.hypercard
From: bj356@cleveland.Freenet.Edu (Rick E. Dieringer)
Subject: Re: Scrolling fields question
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Date: Thu, 30 Jul 92 14:31:27 GMT


CH> I'm trying to find out what action occurs in a scrolling field
CH> during the actual action of scrolling. It seems to me that mouseUp
CH> and mouseDown don't occur and the scroll bar isn't really in the
CH> field. I'm trying to make buttons move in relation to the scroll
CH> and I'm having problems with the handler I wrote to do it during
CH> idle. 
CH> 
CH> Also, I'd like to know where I can find the Rinaldi stack or XCMD
CH> to make hierarchical menus.
A better way than including buttons on a scrolling field (and really the
ONLY way I know to make it work well) is to group text and set it off with a 
different style so the user notices it. Then in the field script write 
handlers using the clickText function to conduct the desired actions.
-- 
Rick Dieringer
usr0563a@tso.uc.edu
Xref: sparky comp.sys.mac.hypercard:2927 alt.hypertext:611
From: rlarkin@nprdc.navy.mil (Robert Larkin)
Newsgroups: comp.sys.mac.hypercard,alt.hypertext
Subject: Greater than one line of code to palette buttons
Date: 30 Jul 92 15:00:47 GMT
Reply-To: rlarkin@nprdc.navy.mil (Robert Larkin)
Organization: Navy Personnel R&D Center, San Diego

Attention HyperCard 2+ programmers.  Is there any way to enter more than one line
of code to palatte buttons?  I'm writing a stack that controls a LaserDisc recorder
and WTI MoonRaker Digitized output to a 19" Radius display, and had hoped to use a
palette or windoid as a "remote control."  I hoped to program buttons as slide 
controls for Brightness, Saturation, and Hue, but have not been able to make them
work on a palette (They do work if they are written to the card).  I have tried 
writing the function in the background and calling it from the palette, without
success.  Any assistance would be most greatly appreciated.

                                     Robert G. Larkin II
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Determining Hypercard's Memory Partition
Date: 29 Jul 92 01:34:29 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <1992Jul24.184603.6513@utkux1.utk.edu>, danny@utkux1.utk.edu
(Danny W. McCampbell) wrote:
> 
> Hi.  I would like to examine Hypercards set memory partition
> so I can see if there is enough available memory for my
> stack to work properly.  Could some kind soul tell me how
> to do this.
> 
> I looked at the Hypertalk Help Stack I had and it said to
> use  heapSpace() but I cannot get it to work.
> 
> My code is:
> 
> get heapSpace()
> if it < 500 then ....

heapSpace() returns bytes.  I assume you meant 500K, not the 500 bytes used
in your script...

In addition, the heapSpace returns the amount of free memory, not the
Finder
partition.  This is better anyways since you don't want to mess with the 
partition, but simply whine if there isn't enough memory available.

As far as I know, there isn't a way to get the actual partition size. Of 
course, I could be wrong, and there always could be an XFCN that does this,
but I haven't seen it.

Jon
From: tron@apple.com (Tantek Celik)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Length limit on names?
Date: 27 Jul 92 20:33:04 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <1992Jul20.140447.21131@cc.ic.ac.uk>, j.kew@ic.ac.uk (James Kew)
wrote:
> 
> I'm writing a stack that cross-references albums track-listings and 
> song lyrics, among other things.
> 
> A couple of quick questions:
> 
> 1)  What is the maximum length of a card name in characters?
> 2)  How can I truncate a string to a given character length, if it
>     is over-long?
>     
> (I store my lyric cards with the name of the card = the song title;
> then go card the_song_title.  Truncating the titles wouldn't hurt
> the indexing at all.)
> 

I think the number you're looking for is 30.  But try experimenting for
yourself with

   set the name of this card to aLongName

and to truncate a string to a given char length:
 
   put char 1 to n of songTitle into songTitleCardName

where n is the number of characters you want (probably 30).


> Thanks.
> 

you're welcome.

> ______________________________________________________________________
> James Kew <j.kew@ic.ac.uk>           "Well, on a scale of one to ten
> Physics (SSTH)                        I'd say it's bicycle clip time."
> Imperial College, London.                       - Eddie Hitler, Bottom

tron@apple.com

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

END OF LINE.
Organization: Doctoral student, English, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.hypercard
Date: Tue, 21 Jul 1992 21:11:49 -0400 
From: "Charles A. Hill" <ch2i+@andrew.cmu.edu>
Subject: Re: copying buttons

>I'm trying to copy all of the card buttons from one card into another
>card.  I created a new button with a script that looks like this:
> 
>on mouseup
>   choose button tool
>   repeat with x = 1 to number of cd btns
>       select cd btn x
>       domenu "copy button"
>       go cd foo
>       domenu "paste button"
>       go back
>   end repeat
>end mouseup
> 
>The script chugs along for a while and copies about 10 or 15 buttons,
>but then it stops and says, "menu item "copy button" not found" (or
>something like that).

In case anyone is interested, I figured out what the problem was.  Some
of the buttons were hidden, and therefore couldn't be selected.  HC
didn't complain when I said to select them, only when I said to domenu
"copy button."  Since no button had been selected, the "copy button"
menu item was not activated.

I stuck the line, "show cd btn x" before "select cd btn x", and it worked fine.

Duh.

Thanks for the replies, and sorry for wasting bandwidth.

Charlie Hill
ch2i@andrew.cmu.edu

Newsgroups: comp.sys.mac.hypercard
From: MrMac@uiuc.edu (Tony M. Carr)
Subject: Wierd print dialog
Followup-To: comp.sys.mac.hypercard
Organization: University of Illinois
Date: Thu, 23 Jul 1992 20:10:29 GMT

I've recently completed a HyperCard version of my thesis, complete with
color images. This are saved as PICT resources and displayed using the
ColorizeHC XCMD and the Picture command. I have no problems with either of
these.

The wierd part is when I try to print out my stack. You know how in the
dialog you usually get two pictures of cards on the right side of the
dialog box to help you decide whether to print across or down, and to set
all the spacings? Instead of little images of cards, I get minatures of my
PICT resources! And as I change the settings different pictures are
displayed. I've tried it with stacks that don't have color PICTs and they
work fine. No big deal, just something I noticed. Anybody else noticed
this? I'm using HC 2.1 on a tuned Quadra 700.

----------------------------------------------------------------------
Tony M. Carr     M.S.G.E             e-mail: MrMac@uiuc.edu
University of Illinois-Urbana/Champaign
From: sharvy@reed.edu (V Headshape)
Newsgroups: comp.sys.mac.hypercard
Subject: Hypercard & OOP
Date: 23 Jul 92 06:46:57 GMT
Organization: Reed College, Portland, Oregon

I recently read a book on object-oriented programming (which I have
never tried) , and was struck by the correspondences to hyperCard.  It
seems like backgrounds are analogous to abstract classes in OOP, while
cards function as specific instances of a class.  So, for instance,
you could define generally an object (say, a house) in a background script, 
and then the cards of that background would be particular instances of that
object, which would "inherit" the general characteristics defined at the 
background level; the card script would then define the particular 
properties of the particular object that the card represented.

Unfortunately, backgrounds cannot contain other backgrounds, and cards cannot
contain other cards, so the inheritance is limited to single level, which 
leaves us with a rather toy-like version of true OOP.  I hope future versions
of hyperCard will develop the OOP potential of hyperCard, or that some
implementation of OOP for the Mac in the user-friendly, GUI, spirit of
hyperCard will be developed.  Seems like an exciting area.
-- 
Liberate the Weirdoes and You Liberate the Squares
Newsgroups: comp.sys.mac.hypercard
From: ejohnso@ccu.umanitoba.ca (Eric Johnson)
Subject: Where is "Groupies?"
Summary: Looking for stack with the groupies functions.
Keywords: hypercard groupies
Organization: University of Manitoba, Winnipeg, Canada
Date: Wed, 29 Jul 1992 15:45:52 GMT

A couple years ago there was a stack called "groupies" that had a script
that allowed you to do all sorts of copying/alignment of buttons/fields/etc
in groups.  Where can I get it?
Please email or respond here. Thanks, 
Eric

-- 
_______________________________________________________________________________
	Eric Johnson	         |  Commit random acts of kindness
	ejohnso@ccu.umanitoba.ca |        	and
	BITNET:ejohnso@UOFMCC    |        senseless beauty.
From: clas005@csc.canterbury.ac.nz
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Setting File TYPE & CREATOR of created files
Date: 28 Jul 92 11:43:20 +1200
Organization: University of Canterbury, Christchurch, New Zealand

In article <1992Jul27.171638.23170@aimla.com>, mike@optimla.aimla.com
 (Mike Diehr) writes:
> 
> Is there any way to set the TYPE and CREATOR of files created by
> hypercard's "open file X ; write X to file fileName" commands?
> I'd like to make the text files double-clickable into MPW instead
> of teachtext.

Yes, there are xcmds that do this for you; Rinaldi XCMDs includes 
some. -- This question would have been answered by consulting my 
Guide-To-XCMDs, available on sumex. 

matt
Newsgroups: comp.sys.mac.hypercard
From: sro@media.mit.edu (Shawn O'Donnell)
Subject: HC Find--Technical Question...
Organization: M.I.T. Media Laboratory
Distribution: comp
Date: Mon, 27 Jul 1992 07:56:02 GMT

Does anyone know how Hypercard's Find command works?  I don't need to
know all the proprietary details--I'm just interested in what you'd
call it.  Does it use any particular algorithm, and does it rely on
an index?  

Thanks.

--Shawn
Newsgroups: comp.sys.mac.hypercard
From: cjh1@ellis.uchicago.edu (chi ju huang)
Subject: How to get the dynamic number of an object
Reply-To: cjh1@midway.uchicago.edu
Organization: University of Chicago Computing Organizations
Date: Thu, 30 Jul 1992 20:25:46 GMT

I'm new to the SuperCard/HyperCard world, could any one help me for the
following question?

In HyperCard/SuperCard, how could an object get its own "Dynamic Number"?

(Though I know how to get the name or long/short IDs, yet dynamic number
reflects the object's position in its parent list.)

For example, we can reference a card by saying card 3 of ...
yet how could (the script of) this particular card know that it is the
third card?

Thanks for any help in advance.

-- cjh
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.misc,comp.sys.mac.apps
From: news@massey.ac.nz (USENET News System)
Subject: Re: HyperCard 2.1 Quicktime Help needed.
Organization: Massey University
Date: Thu, 23 Jul 92 22:21:09 GMT

From article <92203.071208IO92668@MAINE.MAINE.EDU>, by <IO92668@MAINE.MAINE.EDU>:
> I am trying to put a Quicktime movie into my stack.  But I don't want
> the movie controlers to show at the bottom of the movie window.
> 
> I want the movie to come up in a plain "rect" picture window.  No
> scroll bars, close window boxes or quicktime controllers.  I want
> to show the movie but not allow the stack user to move or manipulate
> the window it is in.
> 
> thanks for the help if you can offer any,
> Mark Leaman
> io92668@maine.maine.edu
> 
> 
You can do this with the Pictoid Package, in fact Pictoids doesn't yet
support the movie controller at all (they are planned for the next
major release). Pictoids will display a QT movie in an any-shaped window,
rectangular if you wish, or butterfly, or camel... you get the idea!
No title bars, scroll boxes, close boxes etc. It provides full control
of the movie running from HyperTalk (forward/backward, play rate, frame
positioning etc.)

You can ftp Pictoids Package 1.1 (or 1.0 + 1.1 Updater) from sumex, umich
etc. Free for non-commercial use etc. (apart from a PostCard!), full
license details in package.

Hope this helps, and yes I'm biased I wrote it.

Cheers
	Nigel
-- 
---
Dr Nigel Perry                    Email: N.Perry@massey.ac.nz
Department of Computer Science    Tel: +64 6 356 9099 ext 8900
Massey University                 Fax: +64 6 350 5611
Palmerston North
New Zealand
Newsgroups: comp.sys.mac.hypercard
From: byrne@cc.gatech.edu (Michael Byrne)
Subject: Re: XCMD and filename HELP!!!
Organization: College of Computing
Date: Tue, 28 Jul 1992 12:22:05 GMT

In article <1992Jul28.111201.21732@nuscc.nus.sg> taihou@shankar.iss.nus.sg (Tng Tai Hou) writes:
>Hi.
>
>I am writing an XCMD that that takes in a targa file and displays
>it on the HyperCard/SuperCard window. I am not using any fancy
>HyperCard 2.x xwindow calls. The syntax is
>
>ShowTarga filename, x, y
>
>Unfortunatelly, I run into some coding problems in manipulating
>files. Internally, my code must require both the correct
>vRefNum and a pascal filename: 
>
>OSErr ShowTarga (short vRefNum, StringPtr fn, short x, short y);
>
>I really don't understand it at all. The only way I got this to
>work was to follow exactly the following:
>
>1.  Make sure that my folder or stack is 1 level in the hard disk and
>    not anywhere else, including the desktop.
>2.  I must write my code such that vRefNum is zer0 for the default volume.
>3.  Then from HyperCard, I must specify the FULL path:
>    "Volume:MyFolder:MyTargaFile"
>
>Is there a more generic way of writing this? I need both the vRefNum,
>and the filename.
>
>Please help me with this. I need this code example very badly, not
>just for the targa display, but for other formats as well.
>
>Thanks a zillion in advance.
>
>Tai Hou
>Singapore

Your XCMD can work cleanly regardless of where the targa file is. (BTW,
what is a "targa" file?).  

First, the XCMD must be passed the FULL pathname.  This is easy to get
with the "answer file" command.  Your XCMD should take this full path
and parse out the volume name (everything up to the colon).  Then call
GetVol to get the vRefNum for the volume in question.  You should then
be set to pass the vRefNum and file path to the ShowTarga call.

============================================================
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."
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Pull down menu's on a card
Date: 19 Jul 92 00:02:26 GMT
Organization: Apple Computer, Inc.

In article <1992Jul9.124428.2419@dcs.qmw.ac.uk>, henry@dcs.qmw.ac.uk (Henry Bloomfield) writes:
> 
> In <1992Jul6.112447.20200@fwi.uva.nl> geniene@fwi.uva.nl (Geniene (Sheep)) writes:
> 
> >Howdie,
> 
> >Can anyone tell me {if it is possible of course} how I can make
> >pull down menu's with at least sub sub items?
> >I can get this with the Rinaldi XCMD FullHPopUp. I don't know yet
> >if it is possible to make a menu with sub sub items in it, with
> >this XCMD.
> 
> I think you can do this with Jon Pugh's external "HierPopUp"
> (probably at some shareware site)

Nope.  Mine doesn't do sub-sub menus either.  The real trick, as I see it,
is building a string that can delimit the various menu levels.  I have an
idea for adding a parameter which would specify the various delimiters,
like ";,!" or somesuch.  Right now the delimiters are hardcoded.

Of course, I don't really have a need for sub-sub menus, so unless my
attitude is changed by cash, I don't see it getting done any time soon. ;)

Jon
Newsgroups: comp.sys.mac.hypercard
From: taihou@shankar.iss.nus.sg (Tng Tai Hou)
Subject: XCMD and filename HELP!!!
Originator: taihou@shankar
Organization: Institute of Systems Science, NUS, Singapore
Date: Tue, 28 Jul 1992 11:12:01 GMT

Hi.

I am writing an XCMD that that takes in a targa file and displays
it on the HyperCard/SuperCard window. I am not using any fancy
HyperCard 2.x xwindow calls. The syntax is

ShowTarga filename, x, y

Unfortunatelly, I run into some coding problems in manipulating
files. Internally, my code must require both the correct
vRefNum and a pascal filename: 

OSErr ShowTarga (short vRefNum, StringPtr fn, short x, short y);

I really don't understand it at all. The only way I got this to
work was to follow exactly the following:

1.  Make sure that my folder or stack is 1 level in the hard disk and
    not anywhere else, including the desktop.
2.  I must write my code such that vRefNum is zer0 for the default volume.
3.  Then from HyperCard, I must specify the FULL path:
    "Volume:MyFolder:MyTargaFile"

Is there a more generic way of writing this? I need both the vRefNum,
and the filename.

Please help me with this. I need this code example very badly, not
just for the targa display, but for other formats as well.

Thanks a zillion in advance.

Tai Hou
Singapore
Newsgroups: comp.sys.mac.hypercard
From: mike@optimla.aimla.com (Mike Diehr)
Subject: Setting File TYPE & CREATOR of created files
Organization: Philips Interactive Media
Date: Mon, 27 Jul 92 17:16:38 GMT


Is there any way to set the TYPE and CREATOR of files created by
hypercard's "open file X ; write X to file fileName" commands?
I'd like to make the text files double-clickable into MPW instead
of teachtext.

thanks

Michael C. Diehr
Philips Interactive Media
mike@aimla.com
From: macferri@husc8.harvard.edu (Kurtis Macferrin)
Newsgroups: comp.sys.mac.hypercard
Subject: How to retain res fork with open file command?
Summary: how can one use the open file command to retian a file's resource fork?
Keywords: resource fork, open file
Date: 28 Jul 92 21:52:17 GMT
Article-I.D.: husc8.macferri.712360337

Hi,
	Is there a way (or an xcmd) to open an existing file from within
hypercard, write some data to it, and close the file without the resource
fork getting trashed? The reason I ask is, I'd like to use publishing with
the file, and since the publishing info is in the resource fork, it's lost
when I add data to the file. Thanks for any info!

Kurtis MacFerrin	macferrin@slsvax.harvard.edu
From: Eric.J.Baumgartner@dartmouth.edu (Eric J. Baumgartner)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: WAIT Command
Date: 24 Jul 92 15:26:49 GMT
 <1682DF168.EIVERSO@cms.cc.wayne.edu>
Organization: Dartmouth College, Hanover, NH

In article <1682DF168.EIVERSO@cms.cc.wayne.edu>
EIVERSO@cms.cc.wayne.edu writes:

> No, but if you just want to create a wait state, try executing a function
> or something. You, know: do some busy-work.
>  
> You can roughly calculate the time spent by running this test:
> get the ticks,
> repeat the busy-work several times,
> get the ticks - it,
> divide it by the number of repeats

This method is totally dependent on the machine you're running it on,
as well as what sort of background processes might be stealing time
from you. If you really need millisecond timing you'll have to write or
find an XCMD.

Eric Baumgartner                   *  ebaum@dartmouth.edu
Interactive Media Lab              *  - When in danger or in doubt,
Dartmouth Medical School           *      run in circles, scream and
shout.
Newsgroups: comp.sys.mac.hypercard
From: loh@shiva.trl.OZ.AU (Roger Loh)
Subject: Apple QT XCMDS and SuperCard 1.6
Keywords: XCMDS QuickTime SuperCard
Organization: Telecom Research Labs, Melbourne, Australia
Date: Wed, 29 Jul 1992 01:06:07 GMT

Hello SuperCard & HyperCard users!

I have recently managed to use the Apple QTMovie XCMD in both HyperCard
and SuperCard 1.6.  Fine.  However, I cannot seem to get the QTPict XCMD
working under SuperCard.  It will work with HyperCard and even the
CompressPict command works with SuperCard but not the DisplayPict
command.  
 

My script is 
	on mouseup
	   global vol --volume path contains:   Hard_Disk:Roger:
	   QTPict DisplayPict,vol & "butterfly","10,10",file
           put the result
        end mouseup

It returns 

	Error   :Unable to find the PICT file...[9999]

What is the reason for this when the full volume path is supplied and
the CompressPict command works fine with the same file and path?  Is there
some trick to this XCMD or is it just incompatible with SuperCard :-(

If anyone has managed to display QT compressed picture files using
SuperCard or knows of another XCMD which does the job, I would appreciate 
the information.

p.s. I'd use HyperCard to do this if only I could detect updatewindow
     messages (which SuperCard supports) so the pictures could be redrawn
     when the card is revealed from behind moved or closed windows.
 
Thankyou,
Roger Loh.
************************************************************************
 __   Roger Loh                                  Phone: (03)   253 6373   
|  \| Integrated Communications Services         Fax  : (03)   253 6352   
|__/| Telecom Research Laboratories              
| \ | P.O. Box 249 Clayton 3168                  Int'l: +61 3  253 6373
|  \|___   Australia                            E-mail: r.loh@trl.oz.AU
************************************************************************