HDTenEightyP/NetNews huggingface dataset:
From: ramorgan@waikato.ac.nz
Newsgroups: comp.sys.mac.hypercard
Subject: Re: "Too many pending messages" Error?
Date: 13 Aug 92 13:15:38 +1200
Organization: University of Waikato, Hamilton, New Zealand

In article <1992Aug13.125936.10069@waikato.ac.nz>, ramorgan@waikato.ac.nz writes:
> 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?
>> 
>> The stack is written by using "On OpenCard" scripts on each
>> card.
>> 
>> Suggestions?
>> -Tony Wayne
> 
> To quote almost ... Hypercard has no room to cache a new object to send a
> message to it ... Yes it happened to me in similar circumstances. When you back
> up one it's like clearing the slate, but if you continue on in the same manner,
> it will happen again. 
> 
> How did I get around it ? I compromised with the length of travel (ie how many
> cards I went to), and when I came to the front of my program again, I got the
> user to click anywhere. This was an extremely SLACK way to solve the problem
> and I'm sure someone will have a better idea, but because it was a demo which
> was mostly under my control, to be used once ever only, it wasn't such a bad
> thing, and I didn't try too hard to find a solution. Sorry, but if you can't
> get a better reply, I hope this helps.

almost forgot - i transferred control to the stack (on openstack) and the same
thing happened !!!#@%$&*!??*%$!#!
From: jahnke@biosci.arizona.edu (Jerome Jahnke)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How magic is the CompileIt?
Date: 22 Aug 92 00:46:56 GMT
Organization: Biology Learning Center

In article <1992Aug16.033156.6692@reed.edu>, sharvy@reed.edu (V Headshape) writes:
> 
> In article <15AUG199209103159@oregon.uoregon.edu> ccyang@oregon.uoregon.edu (Chun-Ching Yang) writes:
> >I have heard that there is a aaplication that can compile HyperTalk in
> >Hypercard into XCMD to speed up HyperCard.
> >I found a Demo in Sumex-aim. It looks good and when using HyperTalk to do math
> >(FPU), the compiled hypertalk is very fast. (I used a loop of 10000 times to
> >test FPU math, the compiled HyperTalk is about 50 times faster.)
> >I don't know if anyone who has bought this application can tell me how magic in
>  I thought HC 2.0 compiled scripts on its first execution of them and
> stashed them in RAM, so why would compileIt be faster?  At least, why
> would it be 50 times faster?

Well now compile is a marketing term, to be honest HyperCard 2.x does not 
compile anything. What it does do is tokenize scripts. This greatly reduces
the amount of time required to parse out the command lines by the interperter.

CompileIt actually generates 680x0 microcode.

> -- 
> Liberate the Weirdoes and You Liberate the Squares
> 

Jer,
----
Jerome Jahnke
Biology Learning Center
University of Arizona
'jahnke@biosci.arizona.edu' or +1 (602) 621-3820
Newsgroups: comp.sys.mac.hypercard
From: vadim@CS.Stanford.EDU (Vadim Akselrod)
Subject: Re: Validating Data Entry in a Field
Reply-To: vadim@cs.stanford.edu
Organization: Computer Science Department, Stanford University.
Date: Tue, 18 Aug 1992 21:52:56 GMT

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

This seems like a "mode" to me.  And if you want to be modal, you might as
well use the built-in modality facility - the dialog box.  Something like

on whatever (mouseUp?)
  global lastChoice
  repeat
    ask "Give me a proper responce!" with lastChoice
  until checksOut(lastChoice) -- write checksOut function to test legality
  put lastChoice into [captive field]
end whatever

{This is spewing off the top of my head, not tested on HC...}

I admit, this is side-stepping the question, but from a user interface
standpoint, it seems really annoying to have a hidden mode in one of the
fields (ie: if I see a button, and I click on it, it SHOULD WORK regardless
of which field I'm currently in [without forcing re-entry]...)

Cheers,
	-Vadim

+---------------------+---------------------+---------------+---------------+
|Vadim "Josh" Akselrod|vadim@cs.stanford.edu|W:(415)725-6969|H:(408)732-4606|
|MS Student, Comp. Sci+---------------------+---------------+---------------+
| Stanford University |  If my opinions were worth anything, I'd sell them  |
+---------------------+-----------------------------------------------------+
Date: Sat, 22 Aug 92 00:17:35 +0200
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"
Subject: trapping arrowkeys INSIDE a mouseWithin handler


  Is there a more _optimal/_faster_ way to detect possible arrow
  presses WHILE mouse rests above a field with an important
  mouseWithin handler?  The latter takes care of all detection
  of (equivalent to) mouseDown, mouseStillDown, mouseUp and
  mouseLeave events faster and with a higher degree of precision
  than separate handlers for each would allow.  Now I'd like to
  enhance it still, be adding detection of left and right arrow
  keys, to permit going to prev/ next card even the mouseWithin
  loop is executing.


 on mouseWithin                       --example of working code;
   repeat while <condition>
   ----[code]

   watch4arrows numtochar(inkey())-27 --returns "1" or "2" if left
                                      --or right arrow key pressed;
   ----[code]                         --other values ignored;
   end repeat
 end mouseWithin

 on watch4arrows keyValue             --if left or right arrow then
   if param(1) is in "12"             --go in the indicated direction;
   then do "go" &&item param(1) of "prev cd,next cd" &&"of this bg"
 end watch4arrows


  Using keyDown message of HyperCard 2.0 is NOT an option since
  it'd require a private handler of its own.  That's why I had to
  employ the inkey XFCN by Guy Picciotto [sp?]. Unfortunately it
  doesn't work when the command key is also down, thus preventing
  detection and possible simulation of HC's hardwired cmd-left-
  arrow/ cmd-right-arrow actions (=go to first/ go to last card).

  Or am I, perhaps, missing something VERY obvious?


----Please reply SOLELY via email ------> ianf@random.se
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Sending AEs to hypercard
Date: 19 Aug 92 04:49:23 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <EeYJUtS00iUx04XlJV@andrew.cmu.edu>, gb2a+@andrew.cmu.edu
(George J. Baxter) wrote:
> 
> Gurus:
>     I want to send a string to Hypercard.  I'm using hypercard as a
> front end and I want to send back an error message if I get one.  I
> don't want Hypercard to wait around in any XCMD while I'm looking for my
> error string since there might not be one, or it might be a long time
> coming.  So I want to use Hypercard's built in AE handlers.  I know that
> 2.1 supports appleEvents, but how specifically do I address the AE
> handler in hypercard?  The little New Features Guide gives me some
> hints. For example, I could send the appleEvent under class 'misc',  and
> ID 'dosc' with my string being "put <my error string here>"
> or something.  The question I have is where do I put this error string? 
> The 'dosc' ID is described as "interpret the return-delimited list
> accompanying this Apple event as a script and execute it."  

You need to create the string "put" && quote & yourString & quote and send
that to Hypercard as the direct parameter (keyword '----') to the
'miscdosc' event. That will force Hypercard to execute the string you
passed.

The "request" command sends a "misceval" event with a function or
expression as the direct parameter.  Hypercard will evaluate the expression
and return the value as a string in the keyAEResult parameter (also '----')
of the reply event.

Jon
From: quinton@sun-3.cs.uct.ac.za (Quinton Hoole)
Newsgroups: comp.sys.mac.hypercard
Subject: FAQ? - Porting HyperCard prog. to DOS
Summary: I need to port a HyperCard system developed on the Mac to an IBM-PC
Keywords: Plus HyperCard MS-DOS MS-Windows
Date: 19 Aug 92 14:28:09 GMT
Organization: Computer Science Department, University of Cape Town

Apologies for the possibly naive question, but I'm totally green to
this group and have in fact never used a Mac before (no more sympathy
mail please:-).

I have HyperCard application developed on a Mac, and require it to run
on an IBM-PC. I have been referred to something called Plus, which
apparently runs on the PC and interprets the HyperCard prog.

Is this true? Have I been misled? Has anyone done this before?

Any help will be most apprecated.


--
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
 \_ Quinton Hoole, Computer Science Dept, University of Cape Town, RSA   \_
  \_ email: quinton@cs.uct.ac.za  code:+27(21) tel: 650-4057 Fax: 650-3726\_
   \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Newsgroups: comp.sys.mac.hypercard
From: urban@stout.atd.ucar.edu (Art Urban (PROFS))
Subject: Re: Validating Data Entry in a Field
Organization: Atmospheric Technology Division/NCAR Boulder, CO
Date: Wed, 19 Aug 1992 14:55:19 GMT

In article <1992Aug18.215256.1379@ncar.ucar.edu> hpoppe@ncar.ucar.edu (Herb Poppe) writes:
%The problem is that there is no way (that I have found) to force the 
%cursor back into the field using the closeField (or exitField) handler. It 
%seems to me that I am going to have to trap every mouseUp sent to the card 
%or button and every openField sent to other unlocked fields as a result of 
%clicking outside of the field in error. That handler (in the card) will 
%have to check if there is an error pending in a field. If there is, it 
%will put the insertion point back in that field. If not, it will send a 
%"myMouseUp" message back to the target of the mouse click. Similarly for 
%openField.
%Herb Poppe                 National Center for Atmospheric Research (NCAR)

Hmm, okay. I realize that since I can't actually see your stack, perhaps
you could use the select field syntax.

on exitField

  put the short name of me into thisFld
  if me is empty then select fld thisFld

end exitField


If I was actually near a Mac with HyperCard I would actually try this. Since
I'm not, I guess it's left as an exercise for the reader... :)


--
Art Urban 					       urban@stout.atd.ucar.edu
===============================================================================
 "What's Next? Chasing bunnies on a motorbike until their hearts explode? -Crow
===============================================================================
Newsgroups: comp.sys.mac.hypercard
From: byrne@cc.gatech.edu (Michael Byrne)
Subject: Re: Adding version: to a stack
Organization: College of Computing
Date: Thu, 13 Aug 1992 03:59:56 GMT

Another common problem here is the ID numbers used.  If you just create
a 'vers' resource, ResEdit will give it some useless number.  The Finder
is looking for 'vers' resources of ID 1 and ID 2.

============================================================
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: leec4@rpi.edu (CD Lee)
Subject: HC Fonts?
Followup-To: comp.sys.mac.hypercard
Organization: Rensselaer Polytechnic Institute
Date: Mon, 17 Aug 1992 17:09:30 GMT

I am doing a project in HC 2.1.  We are designing an electronic notebook.
My question is : Can we install our own set of fonts into our stack?
If we can, how to use them?
Thanks!

CD LEE, Chun-Da Lee                                 leec4@rpi.edu
ITS Consultant, ITS=Information Technology Service  CD_Lee@MTS.RPI.EDU
Rensselaer Polytechnic Institute, Troy NY
Newsgroups: comp.sys.mac.hypercard
From: eva@techunix.technion.ac.il (Hava Landerer)
Subject: help: Installing  into a folder
Organization: Technion, Israel Institute of Technology
Date: Tue, 18 Aug 1992 10:22:28 GMT

 i am trying to write a function that copies one folder to another.
in order to do so i  need to know the full path of the source folder
and the destination folr.. obviously i need a dialog box, somthing
like "filename" in hyperexternal Pro which returns the full path of 
a file to be working on. only it should return a full path of a folder.
does anybody out there know how to do it?
thanks 
eva.
From: bhostetl@silver.ucs.indiana.edu (Brian Hostetler)
Newsgroups: comp.sys.mac.hypercard
Subject: A really good search procedure needed.
Date: 18 Aug 92 23:06:37 GMT
Distribution: comp.sys.mac.hypercard
Organization: Indiana University


	Can someone point me to a stack at sumex or elsewhere
that has a really good search procedure?  One that will allow 
you multiple and custumizable searches...
	Thanks!


-- 
-brian
*bhostetl@ucs.indiana.edu 	  |	"Stop and breathe, close my eyes
 bhostetl@iubacs.bitnet   	  | and smell and listen...  no more cotton
 bhostetl@silver.ucs.indiana.edu  | candy, no more band concerts..."
Organization: Penn State University
Date: Wed, 12 Aug 1992 16:04:41 EDT
From: Douglas Brooks <DSB109@psuvm.psu.edu>
Newsgroups: comp.sys.mac.hypercard
Subject: recovering stacks

I recently called Claris' tech support hotline for information about utilities
that can recover/repair stacks. They don't know of any commercial utilities
that are available (are they wrong?), but mentioned that they have several
utilities for internal use only. They said they are willing to try to recover/
repair people's stacks (on a time available basis) if you send them to Claris.

Just thought people might like to know, FYI.

Doug Brooks

-------------------------------------------------------------------------------
Douglas Brooks * Penn State University * Apple Stud Rep * dsb109@psuvm.psu.edu
Newsgroups: comp.sys.mac.hypercard
From: nichols@news.mr.med.ge.com.UUCP (Robin Nichols Mfg 4-6772)
Subject: Re: LOCK Stack, HOW ???
Organization: GE Medical Systems, Magnetic Resonance
Date: Fri, 21 Aug 92 23:50:56 GMT

From article <jpugh-180892215401@90.20.3.212>, by jpugh@apple.com (Jon Pugh):
> In article <1992Aug18.085018.1645@fwi.uva.nl>, geniene@fwi.uva.nl (Geniene
> (Sheep)) wrote:
>> 
>> They're going to work with this stack in a hospital, so I'd 
>> like to have some advice on how I can lock it properly, so that those
>> hospital person's can't delete it.
> 
> You can't stop an idiot, no matter how hard you try.
> 
> Nevertheless, set the Finder's lock bit in the Get Info dialog and
> Hypercard's cantDelete property in its Protect Stack dialog.  This won't
> stop anyone from dragging it to the trash, but it will prevent the trash
> from being emptied. It will make the stack read only though.
> 
> Jon

In addition to the above you may want to use a security program such as Empower, to set the Access Privileges on the folder containing the stack, to not allow the user to make any changes (this includes trashing the stack)   
 
Robin Nichols     
Newsgroups: comp.sys.mac.hypercard
From: cwalton@engin.umich.edu (Christopher A Walton)
Subject: Keyboard navigation with unlocked fields
Date: Fri, 14 Aug 92 13:00:45 EDT
Organization: University of Michigan Engineering, Ann Arbor

We are upgrading a keyboard-based multiple-choice survey to
include a series of short answer responses.

We are currently using the numeric keys as choice selectors
and Q and W relabled as previous and next arrows.  I am
interested in hearing some suggestions for allowing an
unlocked field on the card while still having basic
navigation.  The best I've thought of is to put a keydown
handler in the field looking for specific keys that act as
navigation keys.  But then, what if you need to use those
keys in your response.  

Chris Walton
Organization: Science & Technology Center, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.hypercard
Date: Tue, 18 Aug 1992 16:06:17 -0400 
From: "George J. Baxter" <gb2a+@andrew.cmu.edu>
Subject: Sending AEs to hypercard

Gurus:
    I want to send a string to Hypercard.  I'm using hypercard as a
front end and I want to send back an error message if I get one.  I
don't want Hypercard to wait around in any XCMD while I'm looking for my
error string since there might not be one, or it might be a long time
coming.  So I want to use Hypercard's built in AE handlers.  I know that
2.1 supports appleEvents, but how specifically do I address the AE
handler in hypercard?  The little New Features Guide gives me some
hints. For example, I could send the appleEvent under class 'misc',  and
ID 'dosc' with my string being "put <my error string here>"
or something.  The question I have is where do I put this error string? 
The 'dosc' ID is described as "interpret the return-delimited list
accompanying this Apple event as a script and execute it."  
    Hypercard provides the command "request AppleEvent data", which I
guess is where the strings in question reside, but again, in my code,
how do I hand it to Hypercard?  
    Thanks!
        -George Baxter
-----------------------
gb2a@andrew.cmu.edu		    baxter@a.cfr.cmu.edu

"Only a Hawaiian can say Humuhumunukunukuapuaa five times fast, correctly."

"I think we're in for a bad spell of wether."
From: Francisco.Bagulho@f386.n634.z3.fidonet.org (Francisco Bagulho)
Sender: acsnet@csource.oz.au
Newsgroups: comp.sys.mac.hypercard
Subject: RE-Problems with Find
Date: Sun, 09 Aug 1992 14:42:08 +1000

Nice to see a message from a fellow countryman who uses a Mac.  I am writting
to you from Australia- Melbourne.  I do not know about your problem with
hypercard
or how to solve it but I WISH YOU GOOD LUCK

Regards

 * Origin: /\/\acContent,AMUG Prefered, Oz Division (3:634/386)
Newsgroups: comp.sys.mac.hypercard
From: mike@optimla.aimla.com (Mike Diehr)
Subject: Text insertion point
Organization: Philips Interactive Media
Date: Tue, 18 Aug 92 23:03:18 GMT

Is there any way to change the contents of a field without affecting the
insertion point?

I have a field that the user types into, and I'd like to have two other
fields that indicate the number of letters and words in the field.

I wanted to continually update these values, by using an "On Idle" script.
However, when the field says "put X into me", it moves the insertion point
to that field, and the user can no longer type.

A work around that I tried was to do this in the word count field:

on SetupField
  repeat with i = 1 to 100
    put i into line i of me
  end repeat
end SetupField

on Update
  put the length of field "foo" into X
  set the scroll of me to X * the lineHeight of me
end Update

where SetupField is called once, and Update is called on the idle handler.
The trick is, that I am not putting anything into the field, but only
changing it's scroll position, so the text insertion point shouldn't
be changed.

However, with this method, strange things happen.  If I select some text and
hit the "delete" key, and then hit return, it tries to execute the
contents of the message box, even if it is closed.
From: alves@calvin.usc.edu (William Alves)
Newsgroups: comp.sys.mac.hypercard
Subject: Software to make stacks into an application
Date: 16 Aug 1992 12:09:27 -0700
Organization: University of Southern California, Los Angeles, CA
NNTP-Posting-Host: calvin.usc.edu

Sorry to repeat a question that has been asked before, but I can't find
the answer: Is there software which will turn HyperCard stacks into
an application, i.e. so that HyperCard is no longer needed to run them?
Will it work on 2.1 stacks? Does each stack become a separate applica-
tion, and, if so, does opening stacks from within scripts and sending
messages to other stacks open in different windows work? Thanks for
your help.

Bill Alves
From: ks3y+@andrew.cmu.edu (Kenneth L. Simons)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: strange behaviour of my hypercard, cantPeek, userLevel
Date: 22 Aug 92 16:39:13 GMT
Article-I.D.: andrew.IeZhsl600WBN837JBX
Organization: Doctoral student, Social & Decision Sciences, Carnegie Mellon, Pittsburgh, PA

Robert Mclean writes,

>Help! I can no longer peek at my button and field scripts using 
>the command-shift (-option) click. I can double click after choosing
>the button (field) tool. This is apparently the case in all my 
>stacks. 

Robert, try looking at button scripts by option-command clicking, instead of
command-shift clicking.  Add the shift key to look at field scripts.
 
-Ken  :-}
Newsgroups: comp.sys.mac.hypercard
From: thor@teetot.acusd.edu (Mr. Nelson Thor Brickman)
Subject: SuperCard FTP site poll
Organization: usd
Distribution: usa
Date: Thu, 20 Aug 92 01:29:09 GMT

I am considering putting up an FTP site dedicated to Supercard
programs, utilities, and XCMD/XFCN's.  If I get enough mail in
favor of doing so, it will be up by September.

If you would use such a thing, send mail to me.

-- 
It's all small shit.
tb
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Adding version: to a stack
Date: 13 Aug 92 00:54:33 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <16841EC9E.KGODDEN@cmsa.gmr.com>, KGODDEN@cmsa.gmr.com wrote:
> 
> What's the magic incantation needed to change the Version: n/a
> in a stack's Get Info box to the version of my choice.  I have just been
> monkeying around with ResEdit, added a vers resource, put in the info I
> wanted, and still nothing shows up on my Get Info box.  I even opened
> a stack (FTP) that DOES have a version, copied its vers resource into
> my own stack, and STILL nothing shows up.
> What gives?

I bet you are suffering from the Finder's cache.  If you look at the Get
Info
and then change it, it won't change until you close and reopen the window.
Check again.  I bet it has changed.

Jon
From: rlarkin@nprdc.navy.mil (Robert Larkin)
Newsgroups: comp.sys.mac.hypercard
Subject: 2 hypertext questions
Date: 20 Aug 92 17:20:51 GMT
Reply-To: rlarkin@nprdc.navy.mil (Robert Larkin)
Organization: Navy Personnel R&D Center, San Diego

Forgive me if these questions are obvious.

1.)  I have created a very large stack to display digitized video on a
     19" Display (1152x882 pixels per card), and the response time to
     button or field clicks is EXTREMELY SLOW.  I thought I could speed
     it up some by compacting the stack, but have not been able to because
     "resources are in use."  Most of the scripting was done on the common
     background of the cards.  Can you give me any ideas on how to speed
     up this stack.  Keep in mind, there is a lot of serial I/O, digitized
     video, and QuickTime calls taking place.

2.)  How do you make the text of a background field show on all its cards?

My thanks thanks in advance for your time and efforts.  I will post or 
reply if there is interest.

				Robert G. Larkin II
				Cognitive Scientist