HDTenEightyP/NetNews huggingface dataset:
From: scasterg@magnus.acs.ohio-state.edu (Stuart M Castergine)
Subject: HELP, reading nulls in from a file!
Organization: The Ohio State University
Date: Wed, 12 Aug 1992 18:29:39 GMT

I'm reading some data in from a file, and two characters of the data
represent the lsb (least significant bit) and msb (most significant
bit) of a number. With any value above zero, this works fine, I can
use the chartonum function to get the ascii value of the character and
use that to calculate the number. Unfortunately, it seems like when
Hypercard encounters nulls (ascii 0 or hex 00) it is replacing them
with a space (ascii 32), which totally messes up my calculations.
Anybody know of a way to read in nulls? Is ther an XCMD or XFCN that
replaces the "read file" function that I can use as a substitute?

Please respond, I need help bad.

Note that I am not in control of the file format -- I have to work with
these nulls or not at all.

-- 
scasterg@magnus.acs.ohio-state.edu -- Stuart M. Castergine
Fiver: "Oh, Hazel, look! The field! It's covered with blood!"
Hazel: "Don't be silly, it's only the light of the sunset." -- Watership Down
From: mike@optimla.aimla.com (Mike Diehr)
Newsgroups: comp.sys.mac.hypercard
Subject: Saving Insertion Point
Date: 20 Aug 92 17:36:41 GMT
Organization: Philips Interactive Media

I received several responses to my question of how to update the contents
of  field2 (via an Idle handler) while the user is typing in field1,
 without the insertion point moving to field2 (which disrupts the user`s
ability to type).


The solution:

put the selectedchunk into X     -- remember the insertion point

-- do all field updating here
put the length of field "user typing" into field "number of chars"
put the number of words in field "user" into field "number of words"

-- now, restore the insertion point
do "select" && X


thanks to all that responded!
From: neilp@cs.hw.ac.uk (Neil Postlethwaite)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Pasting Quicktime movies into Hypercard?
Date: 18 Aug 92 09:42:55 GMT
Organization: Dept of Computer Science, Heriot-Watt University, Scotland

In article <16g956INN301@fbi-news.Informatik.Uni-Dortmund.DE> you write:
>Does anybody know how to paste Quicktime movies into Hypercard?
>
>Does Hypercard 2.1 support Quicktime? Which additional files
>are requested for the system folder if system 6.0.7 or system 7.0 are
>installed?
>
>Any hints are very appreciated. Thanks in advance.
>
>Joerg

	This is dead easy to do.

	I presume you have the quicktime CD ???

	Go into the Hypercard directory on it and find a stack called
	Movie Player (or Movie Playing Stack). This has the XCMD and
	XFN attachments on it.

	You need to graft these either onto the Hypercard Application
(not a good idea), or the Stacks you want to play movie from. You will
need to use ResEdit to do this. If you want more detailed instructions
for doing this mail me, but it really is dead easy to do and Quicktime
works a treat in Hypercard.

System 7 is really needed for Quicktime, and it is recommended over System 6
anyday anyway !!

I think all that is needed in the Ststem dir is the Quicktime INIT, which
should be installed with the Quicktime installer program.

	Regards,
		
	Neil

P.S. If you are serious about Quicktime Adobe Premiere is highly recommended,
     as is the SuperMac VideoSpigot DigitalVideo Card which we use to make
     the movie with from video tape.

****************************| Sig' Time |*********************************
JANET: 	  neilp@uk.ac.hw.cs   *   Neil Postlethwaite, Rm G.25, 
INTERNET: neilp@cs.hw.ac.uk   *   Dept of Computer Science,  
UUCP: 	  ..!uknet!hwcs!neilp *   Heriot-Watt University, Riccarton Campus
                              *   Edinburgh, EH14 4AS, United Kingdom.
------------------------------*-------------------------------------------
Computer Science Account      *   Phone +44 (0)31 449-5111 x4174
From: gb2a+@andrew.cmu.edu (George J. Baxter)
Newsgroups: comp.sys.mac.hypercard
Subject: gray/disable font??
Date: 13 Aug 92 08:41:43 GMT
Article-I.D.: andrew.seWd37_00iUyI3BnV_
Organization: Science & Technology Center, Carnegie Mellon, Pittsburgh, PA

Ooooookay.. so you can't disable a button.  Lot's of friendly folks have
pointed me toward a gray Chicago font existing somewhere out there in
e-land.  Could anybody give me an address please?  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: John_Miller@mindlink.bc.ca (John Miller)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Disk access when writing into a field. Help
Date: 18 Aug 92 00:50:48 GMT
Organization: MIND LINK! - British Columbia, Canada
Distribution: world

In article <5008@gold.gvg.tek.com>, randyh@gvgadg.gvg.tek.com
(Randy Hall) wrote:
>
> I am working on a stack that is reading data in from the serial
> port then displaying the results into a field.
>
> The problem that I am having, is that every time HyperCard
> writes data into the field (or change a button name), it also
> is writing to the hard disk.  This slows the process down and
> causes a LOT of disk accesses. The writing to the field is being
> call from the idle loop.
>
> If I set the Can't Modify Stack and Can't Delete Stack in the
> Protect Stack dialog box, then the stack runs without continuously
> accessing the hard disk. I don't want to have to set these
>  properties from the stack, because the user needs to be able to
> enter data into fields, and keeping it all straight may be a pain.

It depends on whether or not you want to save the information
when the user leaves the card.  If you don't, it's simple:
set the global "userModify" property in addition to the
stack's "cantModify" property.  The user will be able to
enter values into the fields, but all user entries (and
all the data that was being accumulated into the field
by your script) will disappear as soon as the user
leaves the card.  This is acceptable if your stack is
some form of single-card control console and you don't
care about saving the user's settings.

If you want to save the data, it's a bit more work.  You
will have to turn on and off the cantModfiy and userModify
properties in your openCard and closeCard handlers.  As
well, because you lose (at least, sometimes) the data
in the fields when you set the cantModify property
back to false, you would have to save all the fields in
variables before setting cantModify to false in your
closeCard handler and then restore the fields from the
variables afterwards.  This means that while you won't
be getting disk hits during idle, you will take a good
disk hit during card closing.

____________________________________________________________________
John Miller                    (604) 433-1795
Symplex Systems                internet:  john_miller@mindlink.bc.ca
____________________________________________________________________

Newsgroups: comp.sys.mac.hypercard
From: jjmckay@ux1.cso.uiuc.edu (Jim McKay)
Subject: Re: Supercard dying?
Organization: University of Illinois at Urbana
Distribution: usa
Date: Tue, 18 Aug 1992 20:49:52 GMT

The Aldus people deny that they are abandoning it.  They were even offerred
a hefty amount of money by a nother company for the rights to SuperCard.

However, a group of people protested at MacWorld-Boston by wearing
shirts asking Aldus to improve it or give it to someone who would.
More details are in this week's MacWeek.

thor@teetot.acusd.edu (Mr. Nelson Thor Brickman) writes:

>  I heard from somewhere that Aldus is planning on abandoning SuperCard.
>Is this true?  I do almost half my work in it.

>  If it is true, is there anybody who is going to protest?  Any company
>that might purchase it?

>  Any info would be appreciated.

>Thor
>-- 
>It's all small shit.
>tb

Newsgroups: comp.sys.mac.hypercard
From: Stephen Cooper <stephen@csd.uu.se>
Subject: Re: Sending AEs to hypercard
X-Xxmessage-Id: <A6BA648F51010C8A@mac-4.csd.uu.se>
X-Xxdate: Fri, 21 Aug 92 08:14:55 GMT
Organization: Uppsala University
X-Useragent: Nuntius v1.1.1d7
Date: Fri, 21 Aug 1992 07:14:37 GMT

In article <jpugh-180892213928@90.20.3.212> Jon Pugh, jpugh@apple.com
writes:
>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.

The request command can also be used after having received the message
appleEvent.
"request appleEvent data" will place the data in the "result" container
(or was it "it"?)
There are also variations on this command wich will pull out data in
places other than '----'.

regards,
  Stephen
-----------------------------------------------------------
Stephen Cooper  	       	       	+46-(0)18-18 10 73 (voice)
Computing Science Dept  	       	+46-(0)18-52 12 70 (fax) 
Uppsala University, Sweden      	stephen@csd.uu.se
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: LOCK Stack, HOW ???
Date: 19 Aug 92 04:56:59 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

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
From: drennan@acfcluster.nyu.edu (XIXAX)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Supercard dying?
Date: 19 Aug 92 15:56:23 GMT
Article-I.D.: acfclust.1992Aug19.105623.1
Distribution: usa
Organization: New York University

In article <1992Aug18.161518.1826@teetot.acusd.edu>, thor@teetot.acusd.edu (Mr. Nelson Thor Brickman) writes:
>   I heard from somewhere that Aldus is planning on abandoning SuperCard.
> Is this true?  I do almost half my work in it.
> 
>   If it is true, is there anybody who is going to protest?  Any company
> that might purchase it?
> 
>   Any info would be appreciated.
> 
> 
You might want to look at this weeks MacWeek...thre is a story on a protest
at the Aldus booth of members of the America Online Supercard SIG...it
mentions the possibility of Aldus selling the product to a company willing
to support it.

For more info, you can write the head of the AOL SIG at HanrekM@aol.com.

-- 
_______________________________________________________________________________
|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: drennan@acfcluster.nyu.edu (XIXAX)
Subject: Re: It couldn't be true
Followup-To: comp.sys.mac.hypercard
Organization: New York University
Date: Thu, 13 Aug 1992 14:28:22 GMT

In article <jpugh-120892174732@90.20.3.213>, jpugh@apple.com (Jon Pugh) writes:
> In article <geVxOTa00WBME2Tklf@andrew.cmu.edu>, "George J. Baxter"
> <gb2a+@andrew.cmu.edu> wrote:
>> 
>> Yo World:
>>     It couldn't be true that I cannot disable buttons in Hypercard, is
>> it? I have a check box that I want to be able to activate or deactivate
>> various options... but so far, I can't figure out how to dim out those
>> options.  I'd like to be able to do this with both buttons and fields,
>> but I'd settle for just buttons.
> 
> You are correct, you can't disable buttons or fields.
> 
> Instead, I would draw the button disabled exactly under the real button.
> Show it when it is enabled, hide it when it is disabled.


First off, SuperCard allows you to disable buttons, items and menus...
In Hypercard, you might want to toggle the icon with a greyed out version (you
can do this in the icon editor) ... an "if the icon of me = [id#]" staatement
would then deal with the disabled-ness of the button...
-- 
Dany
_______________________________________________________________________________
|Dany Drennan <+> Interactive Telecommunications Program, NYU |  Technology   |
|drennan@acfcluster.nyu.edu|xixax@aol.com|xixax@echo.panix.com| is  Autonomy  |
_______________________________________________________________________________
From: neilp@cs.hw.ac.uk (Neil Postlethwaite)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: *RE-POST* - How do you Print Quicktime Movies
Date: 19 Aug 92 20:38:05 GMT
Organization: Dept of Computer Science, Heriot-Watt University, Scotland

In article <14343@mindlink.bc.ca> John_Miller@mindlink.bc.ca (John Miller) writes:
>>This isn't exactly what you're looking for, but you could use
>>the CopyFrame command that comes with the Claris QT xcmd to
>>copy the current frame into the clipboard. Then you could
>>paste it onto the card. Of course, since it's HyperCard all you
>>get is a black and white copy, which may or may not be good enough.
>
>Well, if the QuickTime XCMDs have a way to get the current
>frame onto the clipboard, the latest version of HyperTint,
>currently being tested, can read a picture from the clipboard
>and includes a new XCMD to print the colorized picture.
>
>There are some drawbacks:
>
>1)  A goodly amount of extra memory is used for image buffers
>    to colorize the stack.

No to worry. Memory it cheap these days.

>2)  Sending colour bitmapped images to a LaserWriter over
>    LocalTalk is painfully slow.  Try this with a colour
>    screen dump in a program like MacWrite II to get an
>    idea of the time:  we're talking in the 10-15 minute
>    range.

Umm. Guess that's why the Mac prints in the background ??

Still, it isn't as long as Makin Movies in Adobe Premiere.
Combine the 2  :-)

>3)  The elements in the HyperCard image (fields and buttons)
>    get printed at screen resolution (72 dpi), although there
>    is an option to display header text at the printer's
>    resolution.

I don't really see this as a problem as that's what you see anyway ?!

>4)  HyperTint is not free.

Bummer ! (to quote xv 2.00)

Don't suppose a Beta-test copy ............... (we are Registered Apple
Developer Peeps if that would help !!)

Neil


****************************| Sig' Time |*********************************
JANET: 	  neilp@uk.ac.hw.cs   *   Neil Postlethwaite, Rm G.25, 
INTERNET: neilp@cs.hw.ac.uk   *   Dept of Computer Science,  
UUCP: 	  ..!uknet!hwcs!neilp *   Heriot-Watt University, Riccarton Campus
                              *   Edinburgh, EH14 4AS, United Kingdom.
------------------------------*-------------------------------------------
Computer Science Account      *   Phone +44 (0)31 449-5111 x4174
Newsgroups: comp.sys.mac.hypercard
From: news@email.tuwien.ac.at
Subject: SuperCard quality ?
Reply-To: gollmann@edvz.tuwien.ac.at (Georg Gollmann)
Organization: Technical University of Vienna, Austria
Date: Thu, 20 Aug 1992 07:59:40 GMT

Hello netland,

I am soliciting information on the stability/robustnes of SuperCard. I am 
especially interested in possible compatibility problems with System 7, 
QuickTime, the Quadras, accelerators, 3rd party video cards, etc.

Any comments ?

Thanks !


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
Newsgroups: comp.sys.mac.hypercard
From: bcarter@claven.idbsu.edu (Bruce Carter)
Subject: Re: FAQ? - Porting HyperCard prog. to DOS
Organization: Boise State University - CBI Product Development
Date: Wed, 19 Aug 1992 14:05:39 GMT

In article <quinton.714231578@sun-3> quinton@sun-3.cs.uct.ac.za (Quinton Hoole)
writes:
>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.

Plus has both a Mac and a PC version.  The process would be to read the
HyperCard stack into the Mac version of Plus, then convert it to the PC version
of Plus.  This, unfortunately, means you have to buy two versions of Plus.

Reasonable results can be obtained in converting HyperCard stacks to ToolBook. 
The conversion can be manual, or can be helped along by a product called
ConvertIt! from Heizer Software.  I have not as yet used ConvertIt!, but
reports are that it is about 75-80% effective in the conversion.  You will have
to do some hand tuning regardless.
                                     <->
Bruce Carter, CBI Product Development                bcarter@claven.idbsu.edu
Simplot/Micron Instructional Technology Center       amccarte@idbsu (Bitnet)
Boise State University, Boise, ID  83725             (208)385-1851@phone
From: eric_gorr@coglab_psych.uoregon.edu (Eric Gorr)
Newsgroups: comp.sys.mac.hypercard
Subject: question - vRefNum and hypercard
Date: 19 Aug 92 17:23:54 GMT
Distribution: usa
Organization: University of Oregon Network Services

Basically what I have is an explicit path to a directory and file on a HD
and I would like to get the vRefNum which corresponds to this path so that
I can pass to another application via an apple-event.

Is there any undocumented, slick way of getting the vRefNum within
hypercard without having to write a custom xcmd, etc..?

Any comments concerning this would be appreciated.

thanx...
From: ccyang@oregon.uoregon.edu (Chun-Ching Yang)
Newsgroups: comp.sys.mac.hypercard
Subject: How to keep drawing created by Quickdraw
Date: 22 Aug 92 06:02:00 GMT
Organization: University of Oregon
News-Software: VAX/VMS VNEWS 1.41

It seems that I need some help.
I currently created a XCMD which used Quickdraw from toolbox to draw hundreds
of lines on the HyperCard.
It seems that HyperCard doesn't 'know' the drawing created by XCMD. So
hypercard just erased every lines, drawing which are created by Quickdraw when
changing card, moving fields or buttons.
Is there any possible way to keep the drawing on the card? 

						Yang
Newsgroups: comp.sys.mac.hypercard
From: jpugh@apple.com (Jon Pugh)
Subject: Re: NULL legal in paramPtr->returnValue field?
Date: Thu, 13 Aug 1992 00:51:24 GMT
Organization: Apple Computer, Inc.
Followup-To: comp.sys.mac.hypercard

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

NULL is perfectly fine.

Jon
Newsgroups: comp.sys.mac.hypercard
Subject: XCMDs in C. Pointers to sample code, please
From: stern6@husc10.harvard.edu (Michael Stern)
Date: 22 Aug 92 22:27:49 GMT
Distribution: na

Could somebody direct me to a few sample XCMDs in C. I would appreciate
it greatly.

******************************************************************************
         Michael Stern        *  "I love children, especially when they cry,
                              *   for then someone takes them away."  
   stern6@husc.harvard.edu    *                         -Nancy Mitford
******************************************************************************
Newsgroups: comp.sys.mac.hypercard
From: thingles@xerxes.cs.umn.edu (Jamie Thingelstad)
Subject: AppleEvents between HyperCard and Excel 4
Followup-To: thingles@xerxes.cs.umn.edu
Keywords: appleevents excel hypercard
Organization: University of Minnesota
Date: Wed, 19 Aug 1992 20:46:56 GMT

Hello,

I was just barinstorming with some co-workers and we though it would be very cool if we could use appleevents to do some graphing in HyperCard by sending the AE to excel 4.0 to do the graphing? does anyone have experience with doing this type of thing?

-- 
+------------------------------------------------------------------------------+
|  Jamie Thingelstad                 | Ronald Reagan: A Triumph of the         |
|  thingles@alexander.cs.umn.edu     |                         embalmer's art. |
+------------------------------------------------------------------------------+
Organization: Sophomore, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA
Newsgroups: comp.sys.mac.hypercard
Date: Wed, 12 Aug 1992 13:16:51 -0400 
From: "Keith C. Lantz" <kl2q+@andrew.cmu.edu>
Subject: Compressing sounds (Q)

I have a question about compressing sounds.  The sounds are voices
recorded with MacRecorder then put into a hypercard stack.  The stack is
about 5meg and will most probably be doubling in size.  What would be
the best way of compressing these sounds?  Is Quicktime and option?  Any
suggestions would be greatly appreciated.

Thanks

Keith C. Lantz
User Consultant - H&SS Computing
Computer Coordinator - The Heinz School Computing
lantz+@cmu.edu
kl2q+@andrew.cmu.edu
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Text insertion point
Date: 19 Aug 92 18:09:16 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <1992Aug18.230318.26465@aimla.com>, mike@optimla.aimla.com (Mike
Diehr) wrote:
> 
> 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.

No, there is no way to change the contents of a field without affecting the
insertion point.

You can, however, save the location of the insertion point and set it after
you have mucked with the field.  This has some dangerous aspects though and
I wouldn't recommend it except in limited circumstances.

The function "the selectedChunk" returns the chunk expression for the
current
selection.  You can simply say:

get the selectedChunk
put gunk into fld "Foo"
select it

However, if you have changed the text, the selectedChunk may not be valid 
anymore, or it may describe a different chunk of text, or a different
insertion point.  This is worse than eliminating the insertion point, IMHO.

Of course, you can parse the chunk expression and update it based on what
you have done to the text, but you're starting to get pretty hairy and
speed
will become an issue.

Instead, I recommend updating your line and count fields on the closeField
message.  It's cleaner and simpler.

Jon