HDTenEightyP/NetNews huggingface dataset:
From: mhz7c@curry.edschool.Virginia.EDU (Mark H. Zollinhofer)
Subject: Re: novice help, please
Organization: University of Virginia
Date: Tue, 12 Jan 1993 04:31:36 GMT

The main reason to purchase the kit is to obtain the extra
stacks that come with the newer version.  If you really intend
to play seriously with scripting, the reference manual is
really nice to have as a reference manual!  (This is true for
those types who actually do read the manuals; I frequently get
a lot of help from books, especially when there aren't people
around.)

Buy Goodman's book "The Complete HyperCard 2.0 Handbook".  It
worth it's weight in half-dollars! ISBN0-553-34893-0 c1990.
Even though it's two years old, its got good stuff.

Get the stacks from your friend.  They will need to be
converted.  Do this by getting HyperCard 2.0 or 2.1 loaded from
the sources you mentioned.  Then, pull down the file menu, and
select "Convert a stack" (This command only appears on stacks
that are earlier than 2.0 and show a lock at the right of the
menu bar at the top of the screen.  HOWEVER, once it is
converted to 2.0 or better, it cannot be reconverted down to
1.2 so only do this on a copy, unless you are positive that you
will not need the orginal).  One reason to go for these stacks
is for the clip art that can be copied and pasted into your own
work.

The functional stacks like the Address and Phone Dialer will
work ok, I think, but don't have the improvements that are
offered in the newer ones in the Developers Kit.

Hope that helps.  My opinions only, of course.  Others may give
different advice.
--
|   Mark H. Zollinhofer          *****  Quotable quote:                 |
|   619 Highland Ave.              |     "There's no need to take God   |
|   Charlottesville, VA 22903      |      seriously." -Lot's wife       |
|   internet: mhz7c@virginia.edu   |                  (Gen 19:26)       |
From: jstern@garnet.berkeley.edu ()
Newsgroups: comp.sys.mac.hypercard
Subject: screen/window to clip xcmd?
Date: 8 Jan 1993 22:46:45 GMT
Organization: University of California, Berkeley
Distribution: world
NNTP-Posting-Host: garnet.berkeley.edu

Anybody know of an xcmd that can take a snapshot of ANY window and
paste it into the clipboard? Or even one that'll take screen coordinates
as parameters? Or any scriptable solution (i.e. no user action needed)
to get a picture of a window into the clipboard? Windows are generated
in a variety of ways and I'm looking for a single, simple solution, if
possible. 

Thanks for any suggestions.

Judy Stern
Instructional Technology Program
UC Berkeley
jstern@garnet.berkeley.edu

Newsgroups: comp.sys.mac.hypercard
From: daveh@phoenix.Princeton.EDU (David L. Herrington)
Subject: RTF to HyperCard XCMD?
Originator: news@nimaster
Organization: Princeton University
Date: Tue, 12 Jan 1993 03:48:15 GMT

Does anyone know of an XCMD that will read an RTF file and bring it into
a HyperCard field with formatting reasonably intact?

-- 
David L. Herrington                Princeton University
daveh@Phoenix.Princeton.EDU        Instructional and Media Services
Phone: 609-258-2952                87 Prospect Avenue
Fax:   609-258-3943                Princeton, NJ 08544
From: MEEK%SIKVAX@utrcgw.utc.com
Newsgroups: comp.sys.mac.hypercard
Subject: Another brief Supercard question
Date: 8 Jan 1993 12:21:17 -0600
Organization: UTexas Mail-to-News Gateway
NNTP-Posting-Host: cs.utexas.edu

I'm writing a Supercard application using version 1.5 under System 7.0 -- Is t
I'm writing a Supercard application using version 1.5 under System 7.0 -- Is t

Is there a way to have Supercard write to a file inside of a folder on the Desktop
Level without having the program bomb out with Operating System Error -120?

						Thx.
Newsgroups: comp.sys.mac.hypercard
From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
Subject: AE's and hypercard
Organization: NASA/ARC Information Sciences Division
Date: Wed, 13 Jan 1993 03:16:44 GMT

Newsgroups: comp.sys.mac.hypercard
Subject: AE's / bringing hypercard to foreground
Summary: 
Expires: 
Followup-To: 
Distribution: world
Organization: NASA/ARC Information Sciences Division
Keywords: 

Hey all:

I am trying to get hypercard to post an error message from the background.

The situation is thus:  HC is sent a dosc
appleevent which it interprets.  99% of this time this works just
fine, and hypercard does not need to return a message (though
an empty string or "no error" would benice).  But occasionally,
the script will contain a comand HC cannot support, and
HC will use the notifiacation manager (blinking multifinder 
icon in upper right) to get the user to switch programs.  When HC
is brought to the foreground, it then displays its error
message.

What I want is one of the following

1) (preferred, but difficult)  Hypercard detects that it is in the 
background, and returns an error message to the client.  I know
how to do this in hypercard (reply "STRING" in on AppleEvent handler),
but I am unclear on how I unpackage it in my app 
(using TCL).  I seem to always get error -1707, AE not handled 
(not sure about number, but AE not handled is the error message.  The
  strange part is that hypercard most definitely DID handle the AE,
  though mey not have returned a result (correctly).

2) (easier, HELP)  Hypercard brings itself to the foreground and
diplays the message.  I thought this would be easy:

on AppleEvent 
   ...
   if the result is not empty then
      open hypercard -- I hoped this would cause MF switch, but does not
   end if
end AppleEvent

... but "open hypercard" does not deem to bring it to the front as it 
would with other operations.


SO:  HOW DO I GET HYPERCARD TO BRING ITSELF INTO THE FOREGROUND?

It is not beyond me to write an XCMD if _needed_.


THANK YOU VERY MUCH.
joshr@kronos.arc.nasa.gov


PS - has anyone written a 'eval' sender from C?  I would be real glad
to see it, or talk to them.




-- 
----------------------------------
#include <std/disclaimer.h>     Josh Rabinowitz, Mac TCL programmer
joshr@kronos.arc.nasa.gov
"Me lost my cookie at the disco." -- Cookie Monster
Newsgroups: comp.sys.mac.hypercard
Distribution: world
From: Ray_T._Heizer@bmug.org
Organization: BMUG, Inc.
Date: Sun, 10 Jan 1993 18:11:28 PST
Subject: Re: HyperTalk Classes?

>>I've decided to develop a HyperCard application, want to 
>>take a class in HyperTalk programming.  (I'm an experienced 
>>but rusty programmer.)  Recommendations?
>>
>>BILL COURINGTON
>>415/857-0377

Bill,

From your phone number, it sounds like you are in the bay area. So, call
Foothill College (just north of Cupertino). Sparky Cohen and others there
teach several levels of HyperCard programming (beginning to advanced) and run
a great HyperCard user group too. Thats the best place I know of in the bay
area.

Brian Molyneaux
Heizer Software



**** From Planet BMUG, the FirstClass BBS of BMUG.  The message contained in
**** this posting does not in any way reflect BMUG's official views.
From: mhz7c@curry.edschool.Virginia.EDU (Mark H. Zollinhofer)
Subject: Re: HyperCard 3.0 info
Organization: University of Virginia
Date: Tue, 12 Jan 1993 04:38:15 GMT

I hope your rumor about a colorless HyperCard is just a rumor.
I hate to be heretical (especially since I own a color LC and
enjoy HyperCarding immensely), but the Asymmetrix (IBM-PC) package
"ToolBook" has intrinsic objects AND color, which makes certain
kinds of programming much easier.  I was really hoping the HC
3.0 would put us Mac-ers at par -- so that's really
discouraging news!  What about SuperCard?
--
|   Mark H. Zollinhofer          *****  Quotable quote:                 |
|   619 Highland Ave.              |     "There's no need to take God   |
|   Charlottesville, VA 22903      |      seriously." -Lot's wife       |
|   internet: mhz7c@virginia.edu   |                  (Gen 19:26)       |
From: vry@vax5.cit.cornell.edu
Newsgroups: comp.sys.mac.hypercard
Subject: Need help with submenus
Date: 8 Jan 93 13:51:46 EST
Distribution: comp
Organization: Cornell University

I have a menu that I created with HyperCard 2.1, and I want to add a submenu
to one of the items in the menu. Are there any externals that will let me do
this? I don't want to create the whole menu with the external, I just want to
add on a submenu. Your help is appreciated. Please respond to vry@cornella.cit.
cornell.edu.

Thanks

Victor Chavarria
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How to detect palette close?
Date: 5 Jan 93 06:59:18 GMT
Followup-To: comp.sys.mac.hypercard
Distribution: global
Organization: Apple Computer, Inc.

In article <1992Dec31.012643.549@microsoft.com>, a-scotth@microsoft.com
(Scott Hysmith) wrote:
> 
> Does anyone have the foggiest clue how to detect a click in the close box of a 
> palette?  I would really like to execute a handler at this point, but can find 
> no way to notify HyperCard that a palette was just closed.
> 
> Any ideas?

The palette XCMD sends a closePalette message when this happens.  Just
catch it with an "on closePalette" handler.

The important thing is to know how to figure this out.  If you want to know
what message is sent when something happens, type "mw" to bring up the
message watcher.  Click on the Hide Idle button and click off the Hide
Unused Messages button.  Now do whatever you want to catch and see if a
message appears.  This is how I determined that there really is a
closePalette message and what it is called.  If a message appears like
"closePalette" then there is a handler catching it while if it appears as
"(closePalette)" then there is no handler and Hypercard itself is getting
the message.

Jon
Newsgroups: comp.sys.mac.hypercard
From: bskendig@netcom.com (Brian Kendig)
Subject: HyperCard 3.0 info
Organization: Starfleet Headquarters: San Francisco
Date: Mon, 11 Jan 1993 23:36:04 GMT

The latest buzz around Macworld was that Claris's HyperCard 3.0 "will
not be out in the near future", and that when it does come out, it's
still going to be in black-and-white.  Only rumor, of course, but
rumors is rumors.

*sigh...*  Maybe it's time to give SuperCard a serious look.  How is
it, compatibility-wise and feature-wise?

-- 
_/_/_/  Brian Kendig                             Je ne suis fait comme aucun
/_/_/  bskendig@netcom.com                de ceux que j'ai vus; j'ose croire
_/_/                            n'etre fait comme aucun de ceux qui existent.
  /  Nolite te bastardes     Si je ne vaux pas mieux, au moins je suis autre.
 /    carborundorum.                                             -- Rousseau
Newsgroups: comp.sys.mac.hypercard
From: davids@gardener.lanl.gov (David G. Simmons)
Subject: Re: Hypercard compiler
Originator: davids@feynman.lanl.gov
Organization: Los Alamos National Laboratory
Date: Tue, 12 Jan 1993 16:06:46 GMT


In article <01068005.n69d71@cybermac.lm.sub.org>, mike_s@cybermac.lm.sub.org (Michael Schmittner) writes:
|> Hi,
|> 
|> Anybody out there, using this new Hypercard compiler "CompileIt"?
|> If so, how is it? 
|> 
|> Thx in advance!
|> 
|> Best regards
|> 
|> Michael
|> 
|> 

I have only been using the "Demo" version available by ftp from sumex-aim,
but I find it VERY good for compiling functions, especially ones that do
any sort of mathematical manipulation.  For these, the speed-up is VERY
noticeable (Ireduced run-time on one series of calculations from ~45 seconds
to 4.5 seconds.  For accessing fields, etc., it is not that much faster,
in my experience.  I would love to try the full version, but don't have
the $$ for it yet.

Your mileage may vary.

-David
Newsgroups: comp.sys.mac.hypercard
From: mhz7c@curry.edschool.Virginia.EDU (Mark H. Zollinhofer)
Subject: Re: Progress ribbon in dialog box
Organization: University of Virginia
Date: Fri, 8 Jan 1993 06:20:31 GMT

edandavi@well.sf.ca.us  writes:
> 
> If you want to do a progress ribbon in HyperCard itself, you basically
> need two parts, a passive rectangle which is paint or a button or a field,
> and overlaying that, a hilited button which you resize to represent the
> progress.  You'll change the rect of the indicator button each time you
> update, keeping the left, top, and bottom coordinates, and adjusting the
> right one.
> 
> the line at the core of the routine is:
> 
> set the rect of button <whatever> to myLeft,myTop,myRight,myBottom
> 
> Before that line you will have to fill those in, with only the right one
> changing.
> 
> For a simple case ( a one hundred pixel progress bar, so as not to deal with
> rounding from percents to pixels)
> 
> on updateProgress percentDone
>   put the rect of btn "backButton" into buttonRect
>   put item 1 of buttonRect + percentDone into item 3 of buttonRect
>   set the rect of btn "indicator" to buttonRect
> end updateProgress
> 
> 
> 
> There are also XCMDs that give you progress bar dialogs with or without
> cancel buttons, etc.
> 
> 
> Ed Allen
> edandavi@well.sf.ca.us
> BMUG HyperCard SIG Leader    Scripter for Hire

Thanks for the info.  I think that approach will work, but do
you know how reactive it is , speedwise?  I'm interested in
having the ribbon both increase and decrease in reaction to
mouseClicks that the user is inputting in regard to movement on
the screen of a button in random motion through scripting.  I
hoped that an XCMD would be quicker, but I cant' find one
currently.  I thought I'd seen one somewhere, but can't seem to
locate in now when I need it.  Any suggestions for a source?

Thanks in advance.
--
|   Mark H. Zollinhofer          *****  Quotable quote:                 |
|   619 Highland Ave.              |     "There's no need to take God   |
|   Charlottesville, VA 22903      |      seriously." -Lot's wife       |
|   internet: mhz7c@virginia.edu   |                  (Gen 19:26)       |
Newsgroups: comp.sys.mac.hypercard
From: danny@martha.utcc.utk.edu (Danny William McCampbell)
Subject: Locking and Unlocking fields....
Organization: University of Tennessee Computing Center
X-Newsreader: Tin 1.1 PL3
Date: Mon, 11 Jan 1993 21:11:44 GMT

Hi.  I have several fields that are locked because of grouped text
inside of them.  I want to be able to allow users to add their own
text, but also once they have added the text I would like, in a script
to be able to group the text so when they click on it I can perform a
certain action.  I would like to use a command-key macro to allow them
to easily lock and unlock the fields.  Could someone tell me how to do
this as well as group the text that they type in.  Thanks in advance.

--
Danny McCampbell
UT Computing Center
danny@utkux1.utk.edu
From: ericg@getafix.cs.uoregon.edu (eric leander gorr)
Newsgroups: comp.sys.mac.hypercard
Subject: Extracting Scripts from a stack?
Date: 12 Jan 93 20:31:52 GMT
Article-I.D.: cs.1993Jan12.203152.8378
Distribution: usa
Organization: University of Oregon Computer and Information Sciences Dept.

Are there any utilities out there that will allow me to extract scripts from
a HC stack?  This is related to another message I posted about a stack
I can no longer bring into Hypercard, but still might be somewhat ok so that
a script extraction might work.

Any info would be appreciated...
Newsgroups: comp.sys.mac.hypercard
From: anderson@fpg.uwaterloo.ca (Glenn Anderson)
Subject: Re-arranging field and tab
Organization: Department of Computing services
Date: Wed, 13 Jan 1993 01:42:17 GMT

I have a card where I have re-arranged the fields on the screen. The problem is
that when I tab through the fields they follow the old order which now makes
little sense.

Is there a way to renumber the fields so that tab will work "properly"
left->right, top->bottom
Newsgroups: comp.sys.mac.hypercard
From: cad0410@ritvax.isc.rit.edu (Cecelia A. Dorn)
Subject: Rinaldi SoundRecord XCMD
Reply-To: cad0410@ritvax.isc.rit.edu
Organization: Rochester Institute of Technology
Date: Tue, 12 Jan 1993 17:13:54 GMT

Has anybody used this XCMD?  The description states that it works 
with any recognized sound input device, but it fails to describe
any further.  I'm using a MacRecorder (tried in both modem and printer
ports) and I keep getting an "Error: input device not available"
message.  Anyone know what the acceptable input devices are?

--Cea
From: billc@sextant.Eng.Sun.COM (Bill Courington)
Newsgroups: comp.sys.mac.hypercard
Subject: HyperTalk Classes?
Date: 8 Jan 1993 23:18:17 GMT
Organization: Sun Microsystems, Inc.  Mt. View, Ca.
Distribution: ba
Reply-To: billc@sextant.Eng.Sun.COM (Bill Courington)
NNTP-Posting-Host: sextant

I've decided to develop a HyperCard application, want to 
take a class in HyperTalk programming.  (I'm an experienced 
but rusty programmer.)  Recommendations?

BILL COURINGTON
415/857-0377
From: jg@titan.ucc.umass.edu (John Greene)
Newsgroups: comp.sys.mac.hypercard
Subject: delete a file?
Date: 6 Jan 1993 16:49:40 -0500
Organization: University of Massachusetts, Amherst
Distribution: world
NNTP-Posting-Host: titan.ucc.umass.edu

Hloe!

  Is there a command to delete a (text) file from within Hypercard if the
full pathname is specified?  If not, can anyone supply an XCMD?  This has
got to be simple.

-jg (jg@titan.ucc.umass.edu)
Newsgroups: comp.sys.mac.hypercard
From: tommy@macpost.vanderbilt.edu (Tommy Williams)
Subject: Re: Default folder for ask file dialog
Followup-To: comp.sys.mac.hypercard
Organization: Vanderbilt School of Medicine
Date: Thu, 7 Jan 1993 16:27:28 GMT

In article <1ibbviINN23i@uniwa.uwa.edu.au>, spw@uniwa.uwa.edu.au (Steven P
Wilkinson) wrote:
> 
> Hi all,
> 
> Is there a way to specify the folder which the ask/answer file
> dialog will open at when it is called from within a script?
> 
> It appears the default is the folder containing
> the stack I call ask/answer file from. I don't need to restrict
> my users to a particular folder but I want them to see that folder
> when the dialog opens.
> 
> Thanks in advance,
> 
> Steve Wilkinson
> University of Western Australia

There's an XCMD called "SetSFfolder XCMD" and I believe I got it from
sumex.

From the documentation of the XCMD:
----------
"setSFfolder XCMD" sets the folder shown in the standard Open and Save As
dialogs
to the specified path. It is used in the following manner:

setSFfolder "System:Tools:HC folder:"

or

put "System:Tools:HC folder:" into thePath
...
setSFfolder thePath


Copyright 1991 A.D. Software
Free to distribute and use in any circumstances

Source code available for $20 shareware (Visa and Mastercard accepted)

For more information, source or information on other products
please contact:

Andy Dent
A.D. Software
94 Bermuda Dve BALLAJURA  Western Australia 6066
phone/fax (09) 249 2719   international:  +619 249 2719
Internet:  dent@Dialix.oz.au

We provide programming services in virtually every programming environment
available
on the Mac, as well as some work on lesser machines such as VAXes and
IBM-compatible.
----------

Hope this helps.

--Tommy Williams        tommy@macpost.vanderbilt.edu

  The Virgil Project
  Vanderbilt University School of Medicine
  (615) 343-0343
Newsgroups: comp.sys.mac.hypercard
From: demerit@vms.macc.wisc.edu (J. DeMerit)
Subject: Re: Scrolling field problem....
Organization:  University of Wisconsin Academic Computing Center
Date:  7 JAN 93 13:30:41    

In article <1993Jan7.183928.25218@utkux1.utk.edu>, danny@martha.utcc.utk.edu (Danny William McCampbell) writes...

>Hi all.  I have two scrolling fields side by side.  Each contain text.
>I have enabled an option to have the fields to scroll together or
>seperately.  The problem is when the fields are set to scroll together
>one field has more text than the other and the last few lines of the
>other field are not visible.  I cannot have this.  Is there any way
>to find out what the very last scroll number is in the field with
>the longest text as well as the other field so when one gets to the
>end I can set the other one to the end?  Please help me........
> 
>Any suggestions on maybe a different way to go about this would be
>greatly appreciated.
> 

You could write a script that counts the number of lines in each field -- 
determines which is larger and by how many lines -- then adds that number of 
returns (blank lines) to the smaller field.  Then you essentially have two 
fields with the same number of lines/the same size.

Cathy (email: demerit@macc.wisc.edu
From: mac9067@cs.rit.edu (Mark Collien)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Movie/button/quit script question
Date: 7 Jan 93 17:39:57 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Rochester Institute of Technology

In article <1993Jan6.160344.1@kean.ucs.mun.ca>, haggas@kean.ucs.mun.ca
wrote:
> 
> I wish to "play" a QuickTime movie and "quit" a stack through a 
> background "Quit" button. I cannot play the movie and quit the stack 
> in the button script. How can this be done?
> 
> I have temporarily got around this problem by adding to each card 
> script (since each card has a "Quit" button) the following:
> on closeMovie
>   go last -- quit doMenu routine on card script
> end closMovie
> 
> This is awkward, it limits the playing to one movie and requires the 
> repetitive scripting on each card.
> 
> This is our first home-made application of movie clips to student 
> teaching. This clip instructs a medical student how to correctly
> shut down the MAC, external hard-drive and power supply.
> 
> John Haggas
> haggas@kean.ucs.mun.ca

What you can do is set the windowCloseMsg for each movie after it is
created.  When the movie window is closed it will generate the message you
specify
which can be trapped by a handler, perhaps at the stack level, to quit
or do whatever else you want.  

Here's an example script: 
------------------------------
 on playMyMovie
   QTMovie OpenMovie, Windoid, Rtempeh:liftoffS, R100,100S,closeOnFinish
   set windowCloseMsg of window "liftoff" to "movieDone"
 end playMyMovie

 on movieDone
   doMenu "Quit HyperCard"
 end movieDone


------------------------------

Hope this does the trick.

-- Mark


---------------------------------------------------------------------------
Mark Collien
Interactive Media Laboratory
Rochester Institute of Technology
mac9067@cs.rit.edu  -or-  mac9067@ritvax.bitnet
716.475.6625
716.475.5804 fax
Newsgroups: comp.sys.mac.hypercard