HDTenEightyP/NetNews huggingface dataset:
From: emp@xgml.com (Eric Promislow)
Subject: Re: Initializing HC variables
Organization: Exoterica Corporation
Date: Sun, 20 Dec 1992 01:21:51 GMT

In article <7183@ucsbcsl.ucsb.edu> sekey@engrhub.ucsb.edu (Andrew Sekey) writes:
>
>	Suppose we have an array of variables x1, x2, x3, etc, and we want to
>initialize them to zero, i.e. to set:
>
>	x1 = 0;  x2 = 0, ........xN = 0.
>
>	Can this be done in a "repeat" structure?
>
>(What would be obvious in e.g. Fortran, does not work:
>
>	repeat with j = 0 to N
>	    put 0 into x & j
>        end repeat
>
>since even including a line  'put x & j into dummy', when followed by 
>'put 0 into dummy', will only change 'dummy', not xj.)
>
>Any offers?
>
>Andrew
>

repeat with j = 1 to N
  do "put 0 into x" & j
end repeat

  It wasn't "obvious" because Fortran can't interpret itself.

The real question is why you aren't just treating x as an array with N
items (you don't code like this in Fortran, I hope)?  Then you could
just use the repeat loop:

repeat with j = 1 to N
  put 0 into item j of x
end repeat
-- 
-- Eric Promislow--emp@xgml.com--Exoterica Corporation, Ottawa, Ontario
Newsgroups: comp.sys.mac.hypercard
From: bli@npac.syr.edu (Bin Li)
Subject: Print Pict File Within Hypercard.
Date: Fri, 11 Dec 92 12:32:17 EST

Hi,

I use the XCMD "picture" to open a PICT file in a window but I
don't know if there is any way I can print it to a printer.  Could
someone help me with this?  Thank you.




Bin
Syracuse
From: 80100316s@csghsg5a.bitnet
Newsgroups: comp.sys.mac.hypercard
Subject: FIND text of specific textstyle in a field 
Date: 16 Dec 92 18:10:46 GMT
Organization: University of St.Gallen, Switzerland

18-December-1992

When working on my current hypercard project I bumped into the following 
need:

Is it possible to do a FIND command on a textfield so that I get a match
on all the text with a specific TEXTSTYLE. I would like to make me a XREF
of all the keywords the user enters into a textfield with a BOLD textstyle.
I did not find any hint in HYPERCARD - THE BOOK that this might go well.
Is there anything I have overseen or is there a XCMD I could use. I would 
gladfully appreciate any hint about a INTERNET server where I can find a 
XCMD doing this. 
Anyway is it possible to program a XCMD that does this function? I ask this
because I did not program XCMD's myself sofar.


Othmar Lippuner
University of St. Gallen
9000 St. Gallen
INTERNET:     80100316S@csghsg5a.bitnet


Newsgroups: comp.sys.mac.hypercard
From: gisie@wam.umd.edu (Satan)
Subject: HIREZ Grphics in HyperCard 2.1
Organization: University of Maryland, College Park
Date: Wed, 16 Dec 1992 14:54:50 GMT

Title says it all.... All i can do is import graphics
from the clipboard and when I do this they become bitmapped.

Anyway to import and print hi quality graphics??

Tim

-- 
gisie@wam.umd.edu
"How will these windows affect my final document?"
Newsgroups: comp.sys.mac.hypercard
From: bcarter@claven.idbsu.edu (Bruce Carter)
Subject: Re: Next HyperCard?
Organization: Boise State University - CBI Product Development
Date: Wed, 16 Dec 1992 23:08:28 GMT

In article <75597@apple.apple.COM> jkc@Apple.COM (John Kevin Calhoun) writes:
>I will say that the seeding program for HyperCard 2.0 began about nine
>months before the final version of 2.0 shipped.

Gosh, delivery nine months after seeding...  How anthropomorphic!  (Hi Kevin!)
                                     <->
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
Newsgroups: comp.sys.mac.hypercard
From: Eric C. Kofoid <kofoid@bioscience.utah.edu>
Subject: Re: Hi-liting a locked field
X-Xxmessage-Id: <A75662BB3402C39C@ls-27.biology.utah.edu>
X-Xxdate: Thu, 17 Dec 92 00:00:43 GMT
Organization: Dept. Biology, University of Utah
X-Useragent: Nuntius v1.1.1d13
Date: Thu, 17 Dec 92 23:51:34 GMT

>Path:
fcom.cc.utah.edu!hellgate.utah.edu!caen!saimiri.primate.wisc.edu!ames!bios
>ci!ucselx!newshub.sdsu.edu!larc.sdsu.edu!user
>From: babb@sciences.sdsu.edu (J. Babb)
>Newsgroups: comp.sys.mac.hypercard
>Subject: Hi-liting a locked field
>Message-ID: <babb-161292152533@larc.sdsu.edu>
>Date: 16 Dec 92 23:31:32 GMT
>Followup-To: comp.sys.mac.hypercard
>Organization: SDSU - LARC
>Lines: 8
>NNTP-Posting-Host: larc.sdsu.edu
>
>I've got a field that changes fonts and is supposed to look like a
>chalkboard (white letters on black) but I can't select it cause it's
>locked. I don't want to unlock it, otherwise people will change its
>content. When I "select cd fld chalkb" from a script, I get marching ants
>(and the field tool goes active!!), but not selection like hitting the
Tab
>key will give me.
>Anybody know a workaround or XCMD?
>Jeff

1. Make the field transparent.
2. Set the textstyle to outline.
3. Paint a black rectangle behind the field.
QED

ooo Dr. Cancer ooo

  "Being certain of the conclusion assists in finding the proof" 
                                      Galileo, 17th century
From: ChazL@county.lmt.mn.org (Chaz Larson)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: easy question
Date: 14 Dec 92 19:05:12 GMT
Reply-To: ChazL@county.lmt.mn.org (Chaz Larson)
Organization: LaserMaster Corporation

In article <1g3hr0INNldp@uniwa.uwa.edu.au>, spw@uniwa.uwa.edu.au (Steven P 
Wilkinson) writes:
> 60330903@wsuvm1.csc.wsu.edu wrote:
> : Are there ways to have a card execute something when you arrive there,
> : without having to click the mouse?  More specifically, after arriving at
> : a card, I want (w/out mouse click or any response by user) a five second
> : delay, and then change to another card.  Thanks a lot.

Put this in the card script:

on opencard
   wait 5 seconds
   go card <whatever>
end opencard

chaz

..must think...bubble pipe will relax me and I think...
From: chiester@ccat.sas.upenn.edu (Chris Hiester)
Newsgroups: comp.sys.mac.hypercard
Subject: Importing PICS
Date: 11 Dec 92 20:17:58 GMT
Followup-To: comp.sys.mac.hypercard
Organization: University of Pennsylvania

Can anybody tell me how to import a PICS animation to HyperCard?

Thanks

Chris Hiester
Humanities Computing/CCAT
University of Pennsylvania

chiester@charity.sas.upenn.edu
From: 00sndavis@leo.bsuvc.bsu.edu
Newsgroups: comp.sys.mac.hypercard
Subject: Hiding background field
Date: 14 Dec 92 19:46:07 GMT
Organization: Ball State University, Muncie, In - Univ. Computing Svc's

How can one hide a background field so that it doesn't show its text?
I don't want to paint white on every card foreground.

-------------------------------------------------------------------------------
Scott Davis             | University |    Bitnet:00sndavis@bsuvax1
Ball State University   | Computing  |    Internet:00sndavis@leo.bsuvc.bsu.edu
Muncie, Indiana         | Services   |    America Online:Outatime
-------------------------------------------------------------------------------
I do not speak for UCS, and they don't speak for me.
From: spw@uniwa.uwa.edu.au (Steven P Wilkinson)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Close Finder --- Open Finder
Date: 16 Dec 1992 15:39:30 +0800
Organization: The University of Western Australia
NNTP-Posting-Host: uniwa.uwa.edu.au
X-Newsreader: Tin 1.1 PL5

Hi all,

Sorry about the series of empty postings. The University computing
services people have fixed the newsreader now (I hope!)

I also am interested in using the close finder command to lock
a user into hypercard. The only way to get the finder back seems to be
to quit hypercard and all other running apps. I can do this ok but
then I find that my ram has become fragmented. Choosing "About this
Macintosh" shows megabytes available but if I try to drag copy a file
the finder reports "not enough memory". Has anyone else experienced
this? Is there a fix short of re-booting the machine?

Steve

Newsgroups: comp.sys.mac.hypercard
From: John_Miller@mindlink.bc.ca (John Miller)
Subject: HyperCard 2.1 and WorldScript
Organization: MIND LINK! - British Columbia, Canada
Date: Tue, 15 Dec 1992 18:19:32 GMT

The postings about a new version [no, not the colour version :)]
of HyperCard required for compatibility with System 7.1/WorldScript
raises the question:  what are the incompatibilities between
HyperCard 2.1 and 7.1?  Does anyone have any details?  I would
be interested in incompatibilities that might affect normal
user operations as well as anything that might apply to
XCMDs localized to double-byte scripts such as Japanese.

I do know of one company that claims to be running HyperCard 2.1
under System 7.1 "without any problems", but the fact that they
are displaying blank white cards may have something to do with
it.  :)


John Miller
Symplex Systems

Newsgroups: comp.sys.mac.hypercard
From: sro@media.mit.edu (Shawn O'Donnell)
Subject: Re: Trapping the esc key?
Organization: M.I.T. Media Laboratory
Date: Sat, 12 Dec 1992 05:33:38 GMT

Hey Doug--

Maybe there's a more elegant way to intercept the escape key, but the
following seems to work.  I've noticed that you have to go this route
if you want to intercept certain of the non-character keys from the
extended keyboard (like page-up or page-down, for example, despite the
fact that they are really Cntl-K and Cntl-L.  A handler based on
ControlKey won't work for those keys.  With escape, I this may be 
the only option.)

On keydown key
  if chartoNum(key) is not 27 then
    pass keydown
  end if
end keydown

I looked at the message window and saw that a "doMenu" was being
called when you hit the escape key--I assume that the escape key
travels all the way up (down?) the hierarchy to HyperCard before it
figures out what to do with the escape.  This handler should nip that
message in the bud.


--Shawn
Organization: University of Central Florida--Computer Services
Date: Tuesday, 15 Dec 1992 10:33:01 EST
From: Patrick J. Kelly <PKELLY@UCF1VM.BITNET>
Newsgroups: comp.sys.mac.hypercard
Subject: Ok! It all has to do with this funny little microphone.

Hello!
To be honest with you I am NOT a Mac person, I just dablle to get things
to work, but now I'm in a no win situation.  Our office is/was using a
combination of SuperCard and the MacRecorder (Farrallon R.I.P./Silicion
Beach) in order to accept direct recording into a Project.  Now the new
LC's and Powerbooks have these neat little microphones that are
incompatible with the resources we were previously using.
I'm in the process of purchasing The HyperCard Developers Kit to see
if there is some way to get these Microphones to Record into an HC
project.

Question:  Has ANYONE had luck doing this?
           Is it even POSSIBLE to do?
           What other purposes do the microphones serve?

Any questions, comments or ANSWERS would be highly appreciated!

Patrick J. Kelly                 University of Central Florida
Computer Lab Consulant           Instruction and Research Support
pkelly@ucf1vm.cc.ucf.edu         Orlando, Florida
              ... your troubles have just begun ...
From: poet@roundtable.cif.rochester.edu (Darrell Anderson)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: QUERY: HyperZap (Protection removal)
Date: 16 Dec 92 03:29:56 GMT
Organization: Computer Interest Floor - University of Rochester, NY

In <Bz96oo.9D7@netnews.jhuapl.edu> ygor@aplexus.jhuapl.edu (Daniel E. White  (F2C)) writes:


>  I have an old utility called HyperZap that rips password protection 
>off of a stack so you can examine scripts and such.  HOWEVER, it does
>not want to work on newer versions of HyperCard.

>  Does anyone know of an updated HyperZap or similar routine ?

>  E-mail replys and I'll post results (if any)

>  Thanx in advance.

>  Share & Enjoy !!

>-- 
>------------------------------------------------------------------------
>                                                               Dan White
>------------------------------------------------------------------------
>"Sometimes  I  think  the  surest  sign  that  intelligent  life exists
> elsewhere  in the universe is that none of it has tried to contact us."
>                                                  Calvin (Bill Waterson)

try "Deprotect"...

-Darrell
--
| Darrell Anderson         | aka Vogon Poet                                |
| CPU Box 274046 U of Roch | internet: da003b@uhura.cc.rochester.edu       |
| Rochester, NY 14627-4046 | "Freedom is not the right to do what we want, |
| (716) 274-0130 [x4-0130] |  Freedom is the power to do what we ought."   |
Newsgroups: comp.sys.mac.hypercard
Subject: Storing window name?
From: bobjen@darwin.ntu.edu.au (Bob Jenner)
Date: 17 Dec 92 16:04:27 +0900
Followup-To: comp.sys.mac.hypercard
Distribution: world
Organization: NTU

I wish to save the name of a window opened using the "picture" command for
further manipulation.According to "The Complete HyperCard Handbook" (p459)
the result function returns the name of the picture window on a successful
open. However it is my understanding that TheResult only returns a string
on error.
"it" returns the complete pathname which is not what I want.

Can anyone tell me how to get the name of a picture window opened using the
"picture" command. Am I going nuts?


Cheers
Bob Jenner
Northern Territory University
Darwin, Australia
From: cctr112@csc.canterbury.ac.nz
Newsgroups: comp.sys.mac.hypercard
Subject: QTMovie XCMDs
Date: 21 Dec 92 02:20:45 GMT
Organization: University of Canterbury, Christchurch, New Zealand

I am writing a Hypercard stack using the QTMovie XCMDs to include and play
QuickTime movies, as follows,

	Movie "Scanner Animation.moov", windoid,"0'0"
	Send "play" to window "Scanner Animation.moov"

That works fine, but if I include any further commands, for example to close 
the window when the movie has finished, the movies doesn't play,

	Wait until the mouse is down
	Close window "Scanner Animation.moov"

Please would someone tell me how to do this.
Thankyou.
*****************************************************************************
Emma de Lacey, Consultant, Computer Services Centre, University of Canterbury
EMail address: E.DELACEY@CSC.CANTERBURY.AC.NZ
*****************************************************************************
Newsgroups: comp.sys.mac.hypercard
From: demerit@vms.macc.wisc.edu (J. DeMerit)
Subject: Re: Copy Card
Organization:  University of Wisconsin Academic Computing Center
Date: 15 DEC 92 12:06:02    

In article <78261@hydra.gatech.EDU>, wj4@hydra.gatech.edu (Bill Joye) writes...

>Problem: I wish to use the 'Copy Card' menu option in
>a script via 'doMenu' with a stack at level 2 (Type).
>Problem is the 'Copy Card' menu option is not available
>until you move to level 3 (Painting).
> 
>Question: Does anyone have any suggestions on how to
>'Copy Card' at level 2. Or do you know a way to disable
>some of the other menu options available at level 3?


1. You can change the user level before and after your Copy Card command.

2.  You can delete entire menus or any number of menu items and still remain 
in the higher user level.
Commands such as:  delete menuItem "New Card" from menu "Edit"
              or:  delete menu "Font"
  You use "reset menuBar" to get back to the proper menu for a given user 
level.

3.  You can also disable any menu item (make it grayed out)
Command: disable menu "Edit"
     or:  disable menuItem "Print a Card..." of menu "File"
   The opposite (to turn it back on, i.e. darken it) is enable.  

I think this should help.
From: jkc@Apple.COM (John Kevin Calhoun)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Next HyperCard?
Date: 15 Dec 92 01:25:34 GMT
Organization: Apple Computer Inc, Cupertino, CA


In article <75148@apple.apple.COM> I write:
>In article <1992Nov28.022510.330417@magicbb.uucp>
>Karl_Borst@magicbb.uucp writes:
>>First off, Hypercard 2.5 (supposedly the one with color) is in it's
>>beta stages so it should have a nice and flashy release in spring of '93.
>
>As I've said in an earlier posting, there is absolutely no evidence that
>this is the case.  If anyone has a beta seed copy of HyperCard 2.5 and
>doesn't mind speaking up and saying so, please e-mail me.  I'd be glad
>to post a summary.

I got two responses to this posting.  Both respondents said that they
were on the seed list but hadn't yet received anything from Claris.

So, I repeat:  there is apparently no one outside of Claris who has a
copy of a "nice and flashy" color version of HyperCard.  Whether this
indicates that the rumors are false, that the rumors are mostly true
but the release has been delayed, or that the rumors are entirely true
but Claris has managed to keep this version of HyperCard under wraps
much longer and later than any previous version, I hesitate to say.
I will say that the seeding program for HyperCard 2.0 began about nine
months before the final version of 2.0 shipped.

Kevin Calhoun
jkc@apple.com
Newsgroups: comp.sys.mac.hypercard
From: Larry Slack <las1@Cornell.EDU>
Subject: Hello Lennart Saaf ! (was Balloons for HC)
X-Xxmessage-Id: <A7535034BB022A92@larry-slack.fldc.cornell.edu>
X-Xxdate: Tue, 15 Dec 92 09: 04:52 GMT
Nntp-Posting-User: las1@cornell.edu
Organization: Cornell University
X-Useragent: Nuntius v1.1.1d7
Date: Tue, 15 Dec 1992 14:01:48 GMT

In article <1992Dec15.104713.26803@netcom.com> Jeff Budzinski,
jeffreyb@netcom.com writes:
>Can someone tell me if it is possible to add balloon help to a stack 
>that one is authoring?

Jeffrey,  there are several XCMD's, etc, out there but I settled on
HCBalloon v2.1 by Lennart Saaf.  It has a nice interface and it worked
well with the initial release of system 7.0 and HC 2.0.   In addition,
Lennart was very helpful when I reported bugs.  I think, however, that
he's not doing any further development.   

(** Hey Lennart, if you're out there, mail and phone calls haven't gotton
through - Please send me e-mail! **)

However, you should know that it works with HC 2.1, System 7.0.1 with
tuneup 1.1.1, the beta of 7.1 AND the HyperCard player.  In addition it
was backwards compatable with (didn't crash) systems to 6.0.5.

It's been my experience that any XCMD, et al is going to be slower on top
of HC, than it would be if it was >within< HC.  I guess that Balloon Help
is not a high priority for the newer versions of HC, but HCBalloon is one
of the better solutions.
From: badri@warren.mentorg.com (Badri Lokanathan)
Newsgroups: comp.sys.mac.hypercard
Subject: Fine control of margins in "Print Report"
Date: 11 Dec 92 13:26:32
Organization: Mentor Graphics IC group / Warren NJ 07059
Distribution: comp
Reply-To: badri_lokanathan@Warren.MentorG.COM (Badri Lokanathan)
NNTP-Posting-Host: elysium.warren.mentorg.com

I am having trouble setting Print Report parameters (Margins, spacing
etc.) to 1/32" accuracy in Hypercard 2.1. According to Danny Goodman's
book on Hypercard 2.0, pressing the command key should do the trick
but it does not work for me (I tried option, ctrl, shift also.)

What goes?
Newsgroups: comp.sys.mac.hypercard
Distribution: world
From: Dajuin_J._Yao@bmug.org
Organization: BMUG, Inc.
Date: Mon, 14 Dec 1992 09:52:17 PST
Subject: Re: Changing tool on close palette?

Bill,

Actually the message "closePalette" is sent everytime your palette is closed
(in HC version 2.0 and later).  So you can put this in the card script:

on closePalette
   choose browse tool
end closePalette

Hope this works for you.
***************************************************************************
             From Planet BMUG, the FirstClass BBS of BMUG, Inc.
              The above message was gatewayed via PostalUnion
***************************************************************************
The message contained in this posting is entirely the poster's personal
opinion.  Any possible, real or perceived, (dis)similarities with the
views held by BMUG, are purely coincidental.
***************************************************************************
From: spw@uniwa.uwa.edu.au (Steven P Wilkinson)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Close Finder --- Open Finder
Date: 14 Dec 1992 09:57:12 +0800
Organization: The University of Western Australia
NNTP-Posting-Host: uniwa.uwa.edu.au
X-Newsreader: Tin 1.1 PL5

J. DeMerit (demerit@vms.macc.wisc.edu) wrote:
: I am using "close finder" so a HC presentation will look half way decent 
: without the clutter of the desktop (system 7.0.1).  I cant seem to get the 
: finder back useing "open finder" (asks for the file but will not show it when 
: you are in the system folder in extensions). "show finder" is not an 
: acceptable command in HC.
: 
: What can I do, short of quitting HC and all other running apps, to get the 
: finder/desktop to appear again.
: 
: Also, can I get a list (from an FTP, perhaps) of appleevents that can be run 
: from HC with a list of their syntax.
: 
: Thanks, Cathy (demerit@macc.wisc.edu)
From: spw@uniwa.uwa.edu.au (Steven P Wilkinson)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Hiding background field
Date: 16 Dec 1992 09:23:35 +0800
Organization: The University of Western Australia
NNTP-Posting-Host: uniwa.uwa.edu.au
X-Newsreader: Tin 1.1 PL5

00sndavis@leo.bsuvc.bsu.edu wrote:
: How can one hide a background field so that it doesn't show its text?
: I don't want to paint white on every card foreground.
: 
: -------------------------------------------------------------------------------
: Scott Davis             | University |    Bitnet:00sndavis@bsuvax1
: Ball State University   | Computing  |    Internet:00sndavis@leo.bsuvc.bsu.edu
: Muncie, Indiana         | Services   |    America Online:Outatime
: -------------------------------------------------------------------------------
: I do not speak for UCS, and they don't speak for me.
Newsgroups: comp.sys.mac.hypercard
From: demerit@vms.macc.wisc.edu (J. DeMerit)
Subject: Re: Changing tool on close palette?
Organization:  University of Wisconsin Academic Computing Center
Date: 14 DEC 92 12:04:30    

In article <1992Dec11.184559.28564@galileo.cc.rochester.edu>, da003b@uhura.cc.rochester.edu (Vogon Poet) writes...

>In <1g8d7tINNvd@calvin.usc.edu> alves@calvin.usc.edu (William Alves) writes:
> 
>>Here's the problem: I've created a paint tools palette because I would
>>like the users of my stack to have access to paint tools without having
>>access to the button tool and field tool on the HyperCard tools palette.
>>However, I've run into a problem when the user selects a paint tool and
>>then closes the palette. Now they have no way to get back to the browse
>>tool (besides the somewhat awkward command-tab). They cannot click on
>>any button to bring the paint palette back up, and I am not using the
>>Mac menu bar for other reasons. Closing the palette does not send out
>>any HyperCard message that I've been able to see. I finally thought of
>>checking for the existence of the palette window within the idle loop,
>>but idle messages are never sent when paint tools are chosen! Any sug-
>>gestions? Thanks.
> 
>>Bill Alves
> 
>I would think that hypercard has some form of close palette message, but I
>don't know offhand what it is.  I can't help you there, but I can help you
>with your idle check.  There is an external called 'true-idle' availably
>through anonymous ftp to sumex-aim.stanford.edu in /info-mac/card/x
> 

The handler is "on closePalette" and at this point you should change the 
cursor to you liking and then "pass closePalette"
Organization: Central Michigan University
Date: Monday, 21 Dec 1992 01:03:32 EST
From: CHUCK WILLIAMS <34A6J53@CMUVM.CSV.CMICH.EDU>
Newsgroups: comp.sys.mac.hypercard
Subject: Help! I need the time in my stack

Hellooo netters,

I'm thinking of creating a hypercard stack that will keep track
of the system users in the lab where I work.  To do this I want
to grab the mac's time and input it when the person logs on; I also
would like to increment the time and make an alarm when the user
exceeds the time limit.  This is a big requirement spec of mine,
is it posssible?

I would appreciate any info on the subject.

Thanks in advance,

Chuck