HDTenEightyP/NetNews huggingface dataset:
From: p_stampoul@fennel.cc.uwa.oz.au
Subject: Re: Hypercard Database
Organization: University of Western Australia
Date: Wed, 2 Sep 1992 03:38:36 GMT

Talk to Softstream Internation Inc
19 White Chapel Drive
Mount Laurel New Jersey 08054-3315
Tel: (609)866-1187

They hae a product 'HYPERHIT' that is a HyperCard
Databaseproduct.Bit slow but otherwise works well.
In article <31AUG199212465698@lims01.lerc.nasa.gov>, yydan@lims01.lerc.nasa.gov (Dan Bell (RMS)) writes:
> Does anyone out there know of a Database Package that Hypercard can write 
> directly into. I can write text to a file from Hypercard then import it 
> into many different applications but what I am looking for is a Package 
> that will allow me to put field text from Hypercard directly into fields of 
> a Database. The database must have:
> 
> 		- read/write access from Hypercard
> 		- record locking
> 		- print all records from a given search criteria
> 		- view all records from a given search criteria
> 		- multiple user read/write access
> 		- Five criteria sort level 
> 	
> Please reply to: 
> 
> YYDAN@LIMS01.LERC.NASA.GOV
> 
> Thanks in Advanc,e
> 
> Dan Bell
From: joshua@sun.lclark.edu (Joshua Rochester)
Newsgroups: comp.sys.mac.hypercard
Subject: Visual Effects and the Quadra?
Date: 25 Aug 92 23:49:39 GMT
Article-I.D.: lclark.1992Aug25.234939.16240
Organization: Lewis & Clark College, Portland OR

Are there problems with the visual effects in HyperCard and the Quadra?
Several machines locally simply will not display the visual transitions
between cards--but the stack works fine on a non-quadra machine. Is this a
speed-related dificulty or a glitch in HyperCard?

Thanks
Josh Rochester
joshua@lclark.edu
Newsgroups: comp.sys.mac.hypercard
From: smills@news.weeg.uiowa.edu (MuffinHead)
Subject: Re: Finding flds under the clickLoc
Organization: University of Iowa, Iowa City, IA, USA
Date: Thu, 27 Aug 1992 05:38:23 GMT

by303@cleveland.Freenet.Edu (Jay L. Cross) writes:

>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).
> 
>So, how do I find out what field the mouse pointer is over?
>I know I've read this on the net before, but I can't find the
>message...

   Try getting 'the target'. I haven't used that much, so I don't know if
it'll work like you want it to. Or, have two scripts in each field:

on mouseEnter
  global theField
  put the short name of me into theField
  --or
  --put "<field name>" into theField  --where <field name> is the name of
  --each field.
end mouseEnter

on mouseLeave
  global theField
  put empty into theField
end mouseLeave

   Then have a script in the background layer:

on mouseDown
  global theField
  --do whatever with theField
end mouseDown
Newsgroups: comp.sys.mac.hypercard
From: patfieldk@gtephx.UUCP (Kevin M. Patfield)
Subject: Re: Validating Data Entry in a Field
Summary: Use ask instead!
Organization: AG Communication Systems, Phoenix, AZ
Date: Fri, 28 Aug 1992 23:44:35 GMT

In article <14612@mindlink.bc.ca> John_Miller@mindlink.bc.ca (John Miller) writes:
>Gadzooks!  You're right!
>
>I've been using code something like this to check for errors:
>
>on closeField
>  if me is not a number then
>     answer "Gimme numerics or gimme death!"
>         select char 1 to 1000 of me
>  end if
>end closeField
>
>This works great when the user moves around with the
>Tab key.  (Notice I am *not* trapping tabKey directly.)
>I never realized it didn't work when the user used the
>mouse to exit the field.

<<More and more complicatd solutions mercifully omitted!>>

This is arguably less "mac-like" (?) but it works...

on closeField
   get me
   repeat until (it is a number) and (it is not empty)
      ask "Gimme numerics or gimme death!" with it
   end repeat
   put it into me
end closeField

I usually name numeric fields something like balanceVal then
I can just put one handler in my stack to handle all numeric
fields.  In this case I need to use "target" instead of "me"
and check in the generic closeField wether the name of the
target contains Val.  Adding new numeric fields is then 
automatic and fail safe.  If you don't understand this
paragraph just pretend it doesn't exist!

Note also the fact that hypercard erroneously (IMHO) considers
empty to be a number!
-- 
Kevin Patfield, AG Communication Systems, Phoenix, AZ
UUCP: {ncar!noao!enuucp | uunet!zardoz!hrc | att}!gtephx!patfieldk
Internet: gtephx!patfieldk@enuucp.eas.asu.edu
AOL: Patfield
From: ks3y+@andrew.cmu.edu (Kenneth L. Simons)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Preventing Script Inspections
Date: 28 Aug 92 13:26:50 GMT
Article-I.D.: andrew.0ebdcO200YV7Q7E1E5
	<1992Aug28.181637.19501@linus.mitre.org>
Organization: Doctoral student, Social & Decision Sciences, Carnegie Mellon, Pittsburgh, PA

Jeff Heimberger (heimberg@pacific.mitre.org), in a previous posting,
describes a method of preventing script inspections.

I have used similar methods before.  They are useful for (1) hiding the
menu bar, esp. on small-screen Macs where it can cover part of a
standard-size HyperCard window (On larger screens, clicking on a window
from another program, then returning to HyperCard makes the menu bar
re-hide), and (2) keeping inexperienced users from screwing something up
out of lack of knowledge.

These methods are not foolproof ways to keep someone from viewing and
modifying the scripts.  For example, I could do the following:
    get the script of stack "HD:folder name:stack name"
    [change it as desired]
    set the script of stack "HD:folder name:stack name" to newScript

If you want to be sure to hide everything when you open the stack, you
will have to hide not only the menu bar, message box, variable watcher,
and message watcher, but also the tool window and the pattern window.

- Ken
Newsgroups: comp.sys.mac.hypercard
From: csylvern@magnus.acs.ohio-state.edu (Craig S Sylvern)
Subject: Subtotals in reports
Organization: The Ohio State University
Date: Sat, 29 Aug 1992 04:09:45 GMT


Is there a way to produce reports in Hypercard with subtotals for certain items
and then have a grand total at the end?

I'm doing a stack for a friend to track donations to his company and he would 
like subtotals of each type of organization that donated and then a grand total
of all donations received.  Is there a way to do this?
From: bayes@hplvec.LVLD.HP.COM (Scott Bayes)
Date: Tue, 25 Aug 1992 22:08:50 GMT
Subject: Re: First 80 chars?
Organization: Hewlett-Packard Co., Loveland, CO
Newsgroups: comp.sys.mac.hypercard

> on handler
>   repeat forever
>     if cd fld "xyz" is empty then exit repeat
>     put char 1 to 80 of cd fld "xyz" & return after <container>
>     delete char 1 to 80 of cd fld "xyz"
>   end repeat
> end handler
> 

Neither have I tried it, but I think you first (before the repeat) want
to copy the field to a container (get cd fld "xyz"), then use the
container in the manipulation:

on handler
  get cd fld "xyz"
  repeat forever
    if it is empty then exit repeat
    put char 1 to 80 of it & return after <container>
    delete char 1 to 80 of it
  end repeat
end handler

The reason being that operations that change fields always seem to hit
the disk, causing your script to probably be very slow, and destructive
of the orginal content of the field.

ScottB
From: John_Miller@mindlink.bc.ca (John Miller)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: JPEG decompressor XCMD wanted
Date: 26 Aug 92 23:13:34 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

> Does anyone know if there is a XCMD that decompresses JPEG images?
> I have a very PICT-heavy stack that I hope will become smaller if
> the PICTs are JPEGs instead.

Consider using QuickTime.

PictCompressor, or some other program, can be used to
save the compressed image as a PICT file or as a
PICT resource.  QuickTime adds new features to
QuickDraw pictures that support image compression.

These compressed pictures are therefore magically
handled by the system when a program/XCMD calls
DrawPicture.  If used with QuickTime, HyperCard's
Picture XCMD can be used to display pictures that
internally use JPEG compression.

Users without QuickTime installed should see
a message that says something like "This
picture requires QuickTime to display".
(The picture is supposed to contain this
message for non-QT systems, but I've
never actually tried it.)

______________________________________________________________________
John Miller                      (604) 433-1795
Symplex Systems                  internet:  john_miller@mindlink.bc.ca
Macintosh Consulting and Software Development
______________________________________________________________________
From: gasser@eniac.seas.upenn.edu (Nathan Gasser ><>  )
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Hiding the cursor
Date: 1 Sep 92 07:33:33 GMT


In article <oosterho.715321240@lillee> oosterho@lillee.cs.curtin.edu.au (Alexis Oosterhoff) writes:
>Hello there.
>
>If "hide menubar" hides the menubar, what hides the maouse pointer?
>
>Thanks very muchly
>`
>Alex.


"set cursor to none"

It only works while a script is running -- a single idle causes it to revert
to the hand.

Nate.
--

Nathan Gasser       ><>         
gasser@eniac.seas.upenn.edu     

Newsgroups: comp.sys.mac.hypercard
From: ffang@newsuiowa.edu (Francis Fang)
Subject: Re: nul font?
Date: Fri, 28 Aug 1992 22:01:16 GMT
Organization: University of Iowa, Iowa City, IA, USA
X-Newsreader: Tin 1.1 PL3

gasser@eniac.seas.upenn.edu (Nathan Gasser ><>) writes:
: 
: In article <1992Aug25.032959.9437@monu6.cc.monash.edu.au> steven@monu6.cc.monash.edu.au (Steve Stergakis) writes:
: >
: > i am currently working under hypercard 2.1... and am trying to
: >imitate the passwd fields on the system and employee & department 
: >stacks...
: >
: >the problem is [...problem deleted...]
: 
: The easiest way to do this in HC2.1 is with the "ask password" command:
: 
: on mouseUp
:   ask password "What's the password?"
:   if it is "shoelace" then ...
:   ..
: end mouseUp
: 
: This will cause all the characters typed in the "ask" box to be bullets.
: 
: Not the solution you were aiming at, but I hope it does what you need.
: 
: >thanks in advance
: >steven
: 
: Nate.
: 
: --
: 
: Nathan Gasser       ><>         
: gasser@eniac.seas.upenn.edu     
: 

The above works great except that you have to be careful as the above
solution also encodes the user's response to the ask password prompt
into some numbers. 

Depending on what you are doing, you may not want the user's response to
be encrypted. In my case, I did not want this encryption and I ended up
creating my own font which had all the keyboard characters mapped to
bullets.

Perhaps if someone could explain how to decrypt the response to ask
password?
Date: Wed, 02 Sep 92 08:14:22 +0200
From: ianf@random.se (Ian Feldman)
Newsgroups: comp.sys.mac.hypercard
Apparently-To: rnews@sunet.se
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
X-Mailer: Fernmail 1.2b2
Organization: random design -- "Opinions, cheaply"
Summary: <set cursor to none> works only as long as a script is executing
Subject: re: Hiding the cursor


> If "hide menubar" hides the menubar, what hides the maouse pointer?

  idleCursor ("none") --XCMD by Nigel Perry is the ONLY answer;
                      --contained in various stacks of Nigel's

--Ian
From: drennan@acfcluster.nyu.edu (XIXAX)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: SuperCard 1.6 needs much improvements
Date: 29 Aug 92 23:52:57 GMT
Organization: New York University

In article <1992Aug28.204830.8633@midway.uchicago.edu>, ttak@ellis.uchicago.edu (toki  takeuchi) writes:
> 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.
> 

You HAVE to be kidding.

First off, SuperCard 1.6 was in answer to the 2.0 upgrade; not the 2.1 upgrade.
If you are expecting Hypercard 2.1, then USE Hypercard 2.1. SuperCard has gone
off in a different direction, true. But a more robust development platform of
the hypertalk variety does not exist. What holes are you speaking of?
Admittedly, the learning curve of SuperCard is different than HyperCard--you
have both an editing and runtime environment to adjust too. But beyond that,
the pluses of SC far outweigh any drawbacks, IMHO.
-- 
_______________________________________________________________________________
|Dany Drennan <+> Interactive Telecommunications Program, NYU |  Technology   |
|drennan@acfcluster.nyu.edu|xixax@aol.com|xixax@echo.panix.com| is  Autonomy  |
_______________________________________________________________________________
Newsgroups: comp.sys.mac.hypercard
From: brod@jessica.Stanford.EDU (Brodie Lockard)
Subject: Balloon Help?  Apple Events?
Reply-To: brod@jessica.Stanford.EDU (Brodie Lockard)
Organization: Stanford University
Date: Mon, 31 Aug 92 18:16:10 GMT

I'm not new to HC, but I am new to this newsgroup.  These may be FAQs.  Thanks
in advance.

Can I install balloon help in HC 2.1?  How?
How does one emit "Do Script" apple events from HC to other apps?


Brodie Lockard      brod@jessica.stanford.edu
From: hpoppe@ncar.ucar.edu (Herb Poppe)
Newsgroups: comp.sys.mac.hypercard
Subject: Validating Data Entry in a Field: Conclusion
Date: 28 Aug 92 21:56:57 GMT
Organization: National Center for Atmospheric Research

In article <1992Aug18.202825.24625@ncar.ucar.edu> hpoppe@ncar.ucar.edu 
(Herb Poppe) writes:

> I need to ensure that a user correctly enters data into a field. I want 
> the selection point to remain in the field until a correct value is 
> entered. HyperTalk allows me to trap user attempts to "escape" the field 
> by typing TAB or RETURN or ENTER. However, I see no convenient way to 
trap 
> the user's clicking a button, in another field, or in the card, thus 
> leaving an invalid value left in the field. Have a missed an obvious (or 
> not so obvious) approach to this issue?

Thanks to all who replied via e-mail and netnews postings. My conclusion 
is that there is no straightforward way of doing what I wanted.

I found I was getting all wrapped up in this issue, and forgetting that I
was creating a "throw-away" stack to answer a particular question.  So,
rather than insisting on "doing it my way", I took the advice of someone
who suggested an approach used in the Valid Entry Package, a stack written
by someone at Apple that is available on the Developer CDs.  Basically, if
the field is in error at closeField/exitField time, replace the data the
user entered with the previously entered value (presumably correct).
Since what I was entering were long bit strings, I didn't want to adopt
exactly this approach, since it meant retyping in that long string of
bits.  Instead, I set the style of the text to italic as a reminder
that the data was in error.  Also, I just blanked those (locked) fields
whose values were derived from the incorrect value.  Also, the fields have
a keyDown handler which checks for errors that can be determined when a
character is typed, and discarding that character after a warning alert.
This reduces the errors that are reported at closeField time.

Herb Poppe                 National Center for Atmospheric Research (NCAR)
hpoppe@ncar.ucar.edu       1850 Table Mesa Dr.
(303) 497-1296             Boulder, CO  80303
From: jahnke@biosci.arizona.edu (Jerome Jahnke)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How magic is the CompileIt?
Date: 31 Aug 92 17:59:00 GMT
Organization: Biology Learning Center

In article <1992Aug29.193803.9842@cs.hw.ac.uk>, aafloy@cs.hw.ac.uk (Hans Aafloy) writes:
> 
> 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'

Having never used the product (but knowing folks who have) I must say this.

What if you don't know C? I think that is why CompileIt was designed. And to 
be honest HyperTalk is a nicer language for small projects. The string 
manipulation leaves anything I have ever used in the dust. Where else can you
say get word one of chunk and get from the char 1 to the first space? Not hard
to do in C, but how about get word 4 of chunk? No StdLib I know of has that.

Anyway my opinion for what it's worth.

Jer,
----
Jerome Jahnke
Biology Learning Center
University of Arizona
jahnke@biosci.arizona.edu or +1 (602) 621-3820
Newsgroups: comp.sys.mac.hypercard
From: rdlankes@rodan.acs.syr.edu (Virtual Dave)
Subject: HQX XCMDs?
Organization: Syracuse University, Syracuse, NY
Date: Wed, 26 Aug 92 12:09:01 EDT


I am looking for XCMDs that both encode and decode
bin/hex documents and the like. Are there any such beasts,
if so where?


-------------------------------------------------------------------------------
|R.David Lankes (Virtual Dave)| Virtual Realities/Synaesthatic Communication  |
|  rdlankes@rodan.acs.syr.edu |     "We'll solve VIRTUALLY any problem"       |
-------------------------------------------------------------------------------
Organization: University of Maine System
Date: Monday, 31 Aug 1992 00:34:48 EDT
From: Wm.A.Phillips <PHILLIPS@portland.caps.maine.edu>
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Preventing Script Inspections
 <1992Aug19.150616.20954@ncar.ucar.edu>
 <jpugh-200892114834@wolverine.apple.com>
 <1992Aug28.181637.19501@linus.mitre.org> <0ebdcO200YV7Q7E1E5@andrew.cmu.edu>

     Once upon a time I released (published?) a few stacks with the
stack level scripts encrypted. Just before closing the stack-encrypt.
On openStack-unencrypt. Then CompileIt! for both. I got some of the
most interesting phone calls! It may have slowed down some of the
FileEdit types.   'My kingdom for a "real" compiler!
Newsgroups: comp.sys.mac.hypercard
From: gmoenne@lascar.puc.cl (Gerardo Moenne)
Subject: re: finding fields with index
Organization: U. Catolica
Date: Wed, 2 Sep 1992 16:37:09 GMT

in article finding fields with index says


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

try this 
on mouseUp
  select the clickLine
  find whole the value of the clickLine in bg field "cardName"
end mouseUp

The option "whole" would look for the matching of the whole line int your field.

When you have two lines exactly the same you can call find 2 or more time, but
 you have to know (determinate) how many.

Gerardo Moenne
gmoenne@lascar.puc.cl
I hope this help you, if not let me know to send you more information.
Newsgroups: comp.sys.mac.hypercard
Subject: Switching tools
From: rxbrown@ualr.edu
Date: 25 Aug 92 21:45:25 GMT
Organization: University of Arkansas at Little Rock

  Here is my problem. I have a button that when I go into it I change to
the line tool. This is done so that the user can draw a line. When that person
is finished I want to change back to the browse tool. I have tried many 
different approaches, but none of them have worked yet. Has anyone done this
before and if so how, if not give me some ideas.

Thanks 

Robert
From: Roger.W.Brown@dartmouth.edu (Roger W. Brown)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Setting a global variable in HC from an XCMD
Date: 3 Sep 92 19:01:12 GMT
Organization: Dartmouth College, Hanover, NH
X-Posted-From: InterNews1.0a4@newshost.dartmouth.edu

In article <1992Sep2.232806.16399@nntp.uoregon.edu>
eric_gorr@coglab_psych.uoregon.edu (Eric Gorr) writes:

> Can someone please provide me with some sample code that will accomplish
> this?


Something like this (This is not an actual example, but it's close):
The name of the global here is "MyGlobal". We put a string into it.

Handle h;
char s[256];
long len;

strcpy(s,"some stuff");
len = (long)strlen(s) + 1;
h = NewHandle(len);
if (h==NULL) {
	  DebugStr("\pOut of memory');
		 return;
}
BlockMove(s,*h,len);
SetGlobal(gParamPtr,"\pMyGlobal",h);
DisposHandle(h);
	
No guarantees, but your compiler will help you if I made a mistake.
--------------------------------------------------------------------
Roger Brown                                roger.brown@dartmouth.edu
Software Development
Kiewit Computation Center, Dartmouth College, Hanover, NH
From: rlarkin@nprdc.navy.mil (Robert Larkin)
Newsgroups: comp.sys.mac.hypercard
Subject: sharedText
Date: 1 Sep 92 19:41:28 GMT
Reply-To: rlarkin@nprdc.navy.mil (Robert Larkin)
Organization: Navy Personnel R&D Center, San Diego

Greetings to my follow scripters!  I want to thank those who responded to my
general question regarding "sharedText" and provide a little more detail in
the hopes of finding a solution.  

I'm using HyperCard as follows:

						/Step1
					       /
			/Task1-------------------Step2
		       /		       \
		      /                         \Step3
                     /
                    /                           /Step1
                   /                           /
          Module1--------Task2-------------------Step2
                   \                           \
                    \                           \Step3
                     \
                      \                         /Step1
                       \                       /
                        \Task3-------------------Step2
                                               \
                                                \Step3


Each Module calls its own set of Tasks and each Task calls its own set of 
Steps.  The Module field works easily with the "sharedText" option, but I
cannot figure out how to share the tasks with their respective Step cards.
ie: Mod1Task2 field should share its text with Mod1Task2Step1, Mod1Task2Step2,
and Mod1Task2Step3.  I'm using a clickLine in each field to goto or generate
a new card.  Somebody help me, how do I get the Task field to share its text
with its steps.  All help will be most greatly appreciated and I will respond
either privately or publicly to all those interested.  Many thanks.

					Robert G. Larkin II
					Cognitive Scientist

Newsgroups: comp.sys.mac.hypercard
From: Glen.Stewart@f175.n2240.z1.ieee.org (Glen Stewart)
Subject: RE: 2 hypertext questions
Organization: FidoNet node 1:2240/175 - The Associati, Grand Blanc MI
Date: Fri, 21 Aug 1992 13:38:47 GMT

One thing that will help, is to turn color (and multiple gray-scales) off. 
Revert to B&W and things will really speed up.


--  
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
 Glen Stewart - Internet: Glen.Stewart@f175.n2240.z1.ieee.org