HDTenEightyP/NetNews huggingface dataset:
Date: Wed, 26 Aug 92 08:14:58 +0100
From: ianf@random.se (Ian Feldman)
Newsgroups: comp.sys.mac.hypercard
X-Hear: Sally's (Meg Ryan's) fake diner orgasm now available as plug-in
X-This: charger sound for the Apple PowerBook; reason enough to buy one
Apparently-To: rnews@sunet.se
X-Mailer: Fernmail 1.2b2
Organization: random design -- "Opinions, cheaply"
Summary: the target is the answer
Subject: Finding flds under the clickLoc


  Jay L.  Cross <by303@cleveland.Freenet.Edu> writes on Date: 26 Aug
  92 01:59:37 GMT:

> I'm working on a stack with a background that has about 30 fields. 
> I've got a "Find" command in the works, and I'd like the user to
> be able to click on a field, and have the name, ID, or number of
> that field "read".  I don't what to look for a mouse click in each
> field.  I tried getting the clickChunk, which returns info
> containing the field info, but if the user later clicks on a
> button or other "non-field" area, this old clickChunk remains (you
> can't put empty into the clickChunk). 


  Nothing could be easier to achieve.  Simply put the following
  handler up the hierarchy of card(s) on thich those fields reside:

 on mouseDown ---------------------better use this instead of the mouseUp
   if "field" is in the target then --fields have to be locked to receive
     get the target ------------------mouse events and to pass them on(1)
     put "--field:" &&quote &short name of it &quote &"; ID:"[opt-return]
     &&id of it &"; #:" &&number of it -----will appear in the msg [demo]
   end if
 en mouseDown ---------------------not tested: may require some polishing


(1) you'll have to decide if your need to find out the name, id
  and # of the fields is greater than your possible needs to allow
  easy data entry/ update of them.  It is fully possible to have the
  fields locked by default, to be able to recognize and process
  mouse events like the above, yet still allow writing to them by
  unlocking them and relocking under script control


--Ian "The HyperAgent[tm] From Beyond The Serial Port" Feldman
Newsgroups: comp.sys.mac.hypercard
From: news@email.tuwien.ac.at
Subject: "visual zoom open" in SuperCard ?
Reply-To: gollmann@edvz.tuwien.ac.at (Georg Gollmann)
Organization: Technical University of Vienna, Austria
Date: Thu, 27 Aug 1992 08:21:00 GMT

Hello,

thanks to all who responded to my query about the robustness of SuperCard. 
(BTW, all replies were favourable about SC 1.6). I too like the product 
from the short experience I have, but have run into a small problem:
In HyperCard the command "visual effect zoom open" starts the zooming from 
"the clickLoc", SC starts from the middle of the window, which I find a 
lot less useful. Is there any way to get the HC behaviour in SC ?

Thanks
      Georg


Dipl.Ing. Georg Gollmann           gollmann@edvz.tuwien.ac.at
TU-Wien, EDV-Zentrum               +43 (222) 58801/3611 (voice)
Gusshausstr. 25                    +43 (222) 505 68 49  (fax)
A-1040 Wien, Austria
From: aafloy@cs.hw.ac.uk (Hans Aafloy)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How magic is the CompileIt?
Date: 29 Aug 92 19:38:03 GMT
Organization: Dept of Computer Science, Heriot-Watt University, Scotland

In article <15742.2A9EB161@zeus.ieee.org> Glen.Stewart@f175.n2240.z1.ieee.org (Glen Stewart) writes:
>Please be sure to tell us how well it worked for you.  I contacted the company 
>who makes it, and they said 5-20 times faster, depending on what you compile.  

To me it seemed to only compile a subset of the HyperTalk language.
E.g screen operations wasn't very affected, though character and
number manipulations was done with 'full speed' if the operations
were on variables and not on fields.
So I could as well written those XCMDs in 'C'

But I'm still curious about The Stack Runner from Symmetry Software.

Has anybody tried it ?

Hans Aafloy
Newsgroups: comp.sys.mac.hypercard
From: mgq@inel.gov (Michael G McKellar)
Subject: editing sounds
Organization: Idaho National Engineering Laboratory, Idaho Falls, Idaho
Distribution: comp.sys.mac.hypercard
Date: Thu, 27 Aug 92 15:26:07 GMT

I'm interested in editing sounds recorded for the system folder.
Can I do this with the hypercard audio palette?  If so how do
I open the system folder sounds within hypercard and save the
sounds as system folder sounds using the audio palette?  If
I can't use hypercard, can someone direct me to software that will
allow me to do this.

Thanks

Mike McKellar (mgq@inel.gov)
========== long legal disclaimer follows, press n to skip ===========

Neither the United States Government or the Idaho National Engineering
Laboratory or any of their employees, makes any warranty, whatsoever,
implied, or assumes any legal liability or responsibility regarding any
information, disclosed, or represents that its use would not infringe
privately owned rights.  No specific reference constitutes or implies
endorsement, recommendation, or favoring by the United States
Government or the Idaho National Engineering Laboratory.  The views and
opinions expressed herein do not necessarily reflect those of the
United States Government or the Idaho National Engineering Laboratory,
and shall not be used for advertising or product endorsement purposes.
From: lai@Apple.COM (Ed Lai)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: AppleEvent sending
Keywords: hypercard appleevent
Date: 31 Aug 92 16:41:56 GMT
Organization: Apple Computer Inc., Cupertino, CA

In article <1992Aug31.093445.22623@news2.cis.umn.edu> thingles@xerxes.cs.umn.edu (Jamie Thingelstad) writes:
>I got the trapping of all events to HyperCard working, with the
>on AppleEvent thing. But how can I send an event of arbitrary class and id.
>
>I got the trapping of all events to HyperCard working, with the
>on AppleEvent thing. But how can I send an event of arbitrary class and id.
>

You need XCMDs to do it, there is a set of XCMDs you can ftp from ftp.apple.com
look up the directory in /pub/applevents, it is in AEXCMD.sit.hqx.

/* Disclaimer: All statments and opinions expressed are my own */
/* Edmund K. Lai                                               */
/* Apple Computer, MS37-UP                                     */
"/u/atg/lai/.article" 27 lines, 1073 characters
Newsgroups: comp.sys.mac.hypercard
From: gleeson@mundil.cs.mu.OZ.AU (Red Mountain)
Subject: Re: Printing scripts from stacks (may be a FAQ, sorry!)
Organization: Computer Science, University of Melbourne, Australia
Date: Fri, 4 Sep 1992 11:24:36 GMT

I wrote:
>   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...

I got a couple of replies to this, and if others are interested, the Power
Tools stack that comes with HC 2.x will do the job (better than I expected).
I managed to overlook this stack when starting with HyperCard.

Thanks again to those who replied.
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***=============-------------------------
Xref: sparky comp.sys.mac.hypercard:3258 comp.sys.mac.programmer:14554
From: cjh1@ellis.uchicago.edu (chi ju huang)
Newsgroups: comp.sys.mac.hypercard,comp.sys.mac.programmer
Subject: Memory deallocation for the return value of XFCN
Date: 26 Aug 92 14:08:20 GMT
Reply-To: cjh1@midway.uchicago.edu
Organization: University of Chicago Computing Organizations

Hello, folks,

Here is a question about writing XFCNs.
(Pardon me, if it is a frequently asked one :-)

To return a value through XFCNs, returnValue in the XCmdBlock is assigned
a handle to the (pointer of) result string. To allocate memory to store
the result, NewHandle() must be used. However, it seems to me that the
allocated space can never get a chance to be freed, therefore, after
many executions of XFCNs, the memory would be used up.

Do I miss something here? (so it's not a problem at all, I hope :-)
-OR-
If that's the reality, can I get around with it?

Thanks in advance for any hint and help.

-- cjh		cjh1@ellis.uchicago.edu
From: bengtb@stacken.kth.se (Bengt Baverman)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Preventing Script Inspections
Date: 30 Aug 92 21:28:45 GMT
Organization: Stacken Computer Club, Stockholm, Sweden


As stated you can always do a "get script of stack mumble" to inspect the
script of a stack. Opening a stack from another stack with the lockMessages
flag set to true will never send any openStack message to the stack that gets
open. Another thing that you should know is that all scripts are saved as pure
readable text in the stack's datafork.

So, there is NO WAY to fully protect a stack from being inspected. Period.

Bengt Baverman
alex.stacken.kth.se
-- 
Bengt Baverman
bengtb@alex.stacken.kth.se
Newsgroups: comp.sys.mac.hypercard
From: ffang@newsuiowa.edu (Francis Fang)
Subject: First 80 chars?
Date: Mon, 24 Aug 1992 00:48:37 GMT
Organization: University of Iowa, Iowa City, IA, USA
X-Newsreader: Tin 1.1 PL3

Hi all,

I've been designing a GUI interface for a piece of software that runs on
our DEC mini in hypercard. I need to be able to break the contents of 
a field into 80 character lines so that I can send this information to
fit a field on the mini (which unfortunately does not have word wrap).
Is there some way I can do this without having to count the number of
characters in words and adding them up and so on and so forth? Isn't
there something that allows me to write the equivalent of :

   put the first 80 chars of cd fld "xxxyyyzzz" into <a container> ?

Or can I? I typed in the above (without the ?) and got a very computer
like response of "Can't understand this."

Help!? Anyone?

Thanks in advance.
Frank.

Newsgroups: comp.sys.mac.hypercard
From: gmoenne@lascar.puc.cl (Gerardo Moenne)
Subject: Linking without dialog box
Organization: U. Catolica
Date: Wed, 26 Aug 1992 21:18:54 GMT

Does anybody know how can i link to a remote computer without the dialog box?

I want to automatically (at midnight) start a process (actually a stack) in 
another computer via apple remote access. I have try using the "open" apple
event and using the "request" and "send" commands of hypercard, but allways
the first time I try to link the system display a dialog box asking for
the user registration.

Any solution is wellcome (link as guest or registered user)

thanks in advance


Gerardo Moenne Rivas
gmoenne@lascar.puc.cl
From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
Newsgroups: comp.sys.mac.hypercard
Subject: Answer returing the wrong address of app
Date: 3 Sep 92 18:09:16 GMT
Article-I.D.: nntp.1992Sep3.180916.7454
Distribution: usa
Organization: University of Oregon Network Services

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.


Please help...thanx...


on SelectProgram
  
  Global progAddress
  
  put empty into progAddress
  answer program "Please select the Head Modeler program" of type
"HEADep01"
  put it into progAddress
  
end SelectProgram



	programHandle = paramPtr->params[15];
	HLock( programHandle );
	myErr = AECoercePtr( typeChar, *programHandle, StringLength( paramPtr,
                    	 *programHandle ), 'ADDR', &remoteUserLoc );
	HUnlock( programHandle );
Newsgroups: comp.sys.mac.hypercard
From: murdoch, WA, Australia (kywong@csuvax1.murdoch.edu.au(Khoon Yoong Wong))
Subject: Finding field with index
Organization: external studies, murdoch university
Date: Mon, 31 Aug 92 06:00:28 GMT

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.
From: aafloy@cs.hw.ac.uk (Hans Aafloy)
Newsgroups: comp.sys.mac.hypercard
Subject: script hardcopies
Date: 26 Aug 92 10:43:38 GMT
Organization: Dept of Computer Science, Heriot-Watt University, Scotland


Is there an  e a s y  way to get listings of some of my sctipts ?
(  command-P only seem to print the card...)

Thanx,
Hans
Newsgroups: comp.sys.mac.hypercard
From: bulmer@hilbert.maths.utas.edu.au (Michael R. Bulmer)
Subject: How does 'the ticks' work? (Accuracy?)
Organization: University of Tasmania, Australia.
Date: Sun, 23 Aug 1992 23:47:32 GMT


Does anyone out there know how 'the ticks' are generated in
HyperCard (any version)? I am trying to use it to measure things
over about half and hour and have found that it becomes very
inaccurate in that time.

It seems that it is implemented in software, rather than using a clock
directly. From some empirical testing it does seem to be out by a constant
factor (about 60.14 ticks/sec, rather than 60) but I'd like some theory
to know how reliable that factor is and what things effect it. (eg it
varies wildly with other applications running).

Please email any thoughts.

Thanks,

Michael.


--
Michael Bulmer                              'I can't believe it...
Department of Mathematics                    You've actually found a
University of Tasmania at Hobart             practical use for geometry.' 
bulmer@hilbert.maths.utas.edu.au                - Bart
From: jem@sm.luth.se (Jan Erik Mostr|m)
Newsgroups: comp.sys.mac.hypercard
Subject: Rinaldi's externals
Date: 2 Sep 92 06:18:39 GMT
Organization: University of Lulea, Sweden


Hi
I've been waiting for some time now that Apple would include the latest
versions of Rinaldi's externals on their CD-ROM but nooooooo.

And on sumex there are only the old versions.

Could someone that have downloaded the lastest versions from applelink
please send them to sumex. PLEASE !!!

			jem
From: KGODDEN@cmsa.gmr.com
Newsgroups: comp.sys.mac.hypercard
Subject: Re: HC 2.1 "sort" command
Date: 4 Sep 92 13:53:28 GMT
Organization: GM Research Labs

In article <1992Sep3.224521.5605@kronos.arc.nasa.gov>
joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91) writes:

>
>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.
>
<stuff deleted>

You're right.  You can't sort this as is.  You COULD do it if you were sorting
CARDS (as opposed to the contents of a variable) where that info appeared in
some field.  This is a bewildering incompatibility between the card sort
and the variable sort, and CERTAINLY ought to be fixed in the next update
of HC (are you listening Claris?--check out the &key parameter in the
Common Lisp sort, that's what  you need in HC).

So what to do?....The solution I used (with help from others on the net)
in a similar situation was to transform each line of the variable such that
sort would give the correct order I wanted, and then transform each line of
the result back again.  For you, (IF your example is literally representative)
this could be done by reversing the words of each line, sorting, and then
reversing each line back again.  I.e. instead of sorting
name 2
name 5
name 21
name 1
you would transform each into e.g. 2 name, 5 name, etc.  Then do your sort
and then put the nums back to the end of each line.
It's an ugly hack, but it'll stem the dike until Claris does it the Right Way.
-Kurt
--------------------
"I distrust a research person who is always obviously busy on a task."
-Robert A. Frosch, VP, GM Research
Newsgroups: comp.sys.mac.hypercard
From: mac9067@cs.rit.edu (Mark Collien)
Subject: delete file xcmd
Organization: Rochester Institute of Technology
Date: Tue, 25 Aug 1992 18:29:14 GMT

I'm looking for an XCMD that will let me delete a file from
HyperCard.  Any info appreciated. (Is there an AppleEvent for this?)

-- Mark
From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How does 'the ticks' work? (Accuracy?)
Date: 24 Aug 92 15:50:08 +1200
Organization: University of Waikato, Hamilton, New Zealand

In article <1992Aug23.234732.21292@newsroom.utas.edu.au>, bulmer@hilbert.maths.utas.edu.au (Michael R. Bulmer) writes:
>
> Does anyone out there know how 'the ticks' are generated in
> HyperCard (any version)? I am trying to use it to measure things
> over about half and hour and have found that it becomes very
> inaccurate in that time.
>
> It seems that it is implemented in software, rather than using a clock
> directly. From some empirical testing it does seem to be out by a constant
> factor (about 60.14 ticks/sec, rather than 60) but I'd like some theory
> to know how reliable that factor is and what things effect it. (eg it
> varies wildly with other applications running).

There's no mistake--there are in fact 60.15 ticks to the second, not 60.00.

The only common thing I know of that is likely to throw off the Ticks value
is spending a long time sitting at the MacsBug prompt (ie with interrupts
disabled).

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:0
Newsgroups: comp.sys.mac.hypercard
From: mmh2941@rigel.tamu.edu (Mary Hankins)
Subject: Color PICT
News-Software: VAX/VMS VNEWS 1.41    
Keywords: PICT 
Organization: Texas A&M University
Distribution: usa
Date: Thu, 27 Aug 1992 22:46:00 GMT

I'm new to HyperCard, so please bear with me if this is a stupid
question :)
A stack I'm working with has been modified (not by me) to display
color PICT files.  We scanned our images in with a slide scanner
using Photoshop and boy, did they look great. Except when
HyperCard brings them up, they are very very tiny - about the size
of the actual slide!!!! We need them to display bigger than that!
Is there a way to do this with HyperCard or do we have to go back
and resize each image? Also, we have a lot of fairly large size
PICT files, does anyone have any advice/comments on the best or
easiest way to compress them?  Thanks in advance.

Mary Hankins
Horticultural Sciences
Texas A&M University
E-mail at MMH2941@RIGEL.TAMU.EDU
Newsgroups: comp.sys.mac.hypercard
From: tres@roke.rap.ucar.edu (Tres Hofmeister)
Subject: printScripts Handler?
Keywords: ps, printScripts
Organization: National Center for Atmospheric Research / RAP
Distribution: usa
Date: Tue, 25 Aug 1992 21:46:43 GMT

	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?

Tres Hofmeister
tres@ncar.ucar.edu
Newsgroups: comp.sys.mac.hypercard
From: mac9067@cs.rit.edu (Mark Collien)
Subject: Re: Serial data from modem port to hypercard -- how?
Organization: Rochester Institute of Technology
Distribution: usa
Date: Wed, 26 Aug 1992 17:26:01 GMT

In article <16340@ucdavis.ucdavis.edu>, itstevec@othello.ucdavis.edu writes:
> 
> 
> Apologies -- I have seen this question here before, but without
> answers:  
> 
> How can I get data from my Mac's modem port into hypercard?
> Is there an XCMD available either for purchase or via FTP somewhere?
> I need to import numeric data at 2400 bps, and then have hypercard
> make decisions based on that data.  Any suggestions will be
> highly appreciated!
> 
> Steve Chafe
> itstevec@hamlet.ucdavis.edu
> 
There is a HyperCard Serial Communications Toolkit available through
APDA that will let you do what you want.  Part # M7015, only $20.  
The Dartmouth XCMDs stack has an XCMD called serialHandler that
will also allow you to do serial port stuff.

--Mark
Date: Wed, 02 Sep 92 08:34:54 +0200
From: ianf@random.se (HyperAgent In Disguise[tm])
Newsgroups: comp.sys.mac.hypercard
Apparently-To: rnews@sunet.se
X-Mailer: Fernmail 1.2b2
X-Cc: <davidc@panix.com>
Organization: random design -- "Opinions, cheaply"
Subject: re: Hypercard Image formats (FAQ?)


  David B. Chorlian <davidc@panix.com> writes on
# Date: 1 Sep 92 01:52:50 GMT
  in regard to the subject matter:

> I need to know how to read the binary files:
> boundaries between pictures, size, bits per pixel, etc. I would
> appreciate references to published material or even better, email,
> as I do not regularly read this newsgroup.

  HyperCard file format is proprietary and unpublished.  It uses
  highly-effective bitmap compression algorithms (average compression
  of HC 1.2.x stacks supposedly in the range 30:1) and thus isn't
  easily defeated.

  If processing time is no constraint on your part I'd imagine that
  a fairly simple script in HyperTalk could effectively read value
  of each binary pixel (using Steve Maller's thePixel() XFCN that
  returns either "black" or "white"), then analyse the boundaries
  of extracted bitmap in the memory and effectively return the data
  in the binary format of your own design.  The latter part sounds
  complex but there are by now fairly well-known algorithms in the
  public domain that do that (edge detection etc).

  An alternative course of action would be simply to extract the
  bitmap matrices from each card into a file (as "0010011001111011"
  etc) and then submit those ASCII data to analysis by some high-
  powered graphic workstation with suitable image enhancement tools.


--Ian
From: hue@pro-freedom.cts.com (Scott Hudziak)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Help with retreiving clip art from HC
Date: 3 Sep 92 01:24:32 GMT
Article-I.D.: pro-free.1992Sep2.182432.435
Organization: ProLine [pro-freedom] AppleVan (Apple UG of Vancouver, WA)

You need first to get your 'lasso' from the 'tool' menu. If you have no
'tool' menu, your Home satck is probaly not "broken in" so to speak. In
that case, do the following:
Go to the HOME stack (Go menu)
hit Command(open apple)-M (message box) 
type "Set userlevel to 5" (hit return)
go 'LAST' form the go menu
type "magic" (hit return)
Now, you should be at userlevel 5 (scripting). ANd you should have a tools
menu. Go back to you clip-art stack, choose the lasso tool. Clck and hold
and encircle the desiered picture, (the lasso will complete the circle
using start and end points). Now the graphic should have fuzzy/animated
edges. Choose "COPY"form the edit menu (or command-E). Boot up or switch to
your application in which you wish to PASTE the picture. Choose "PASTE" (or
command-V) and your graphic will appear where your cursor is or wherever.
 
hue

ProLine:  hue@pro-freedom
Internet: hue@pro-freedom.cts.com
UUCP:     crash!pro-freedom!hue
Newsgroups: comp.sys.mac.hypercard