HDTenEightyP/NetNews huggingface dataset:
From: dblackbu@alleg.edu (Dave Blackburn)
Subject: Re: Progress ribbon in dialog box
Organization: Allegheny College
Date: Mon, 11 Jan 1993 16:37:24 GMT

In article <1993Jan8.062031.29404@murdoch.acc.Virginia.EDU>  
mhz7c@curry.edschool.Virginia.EDU (Mark H. Zollinhofer) writes:
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)       |

Two suggestions: 
1. Use the shareware XCMD "BarButton" to see the progress rectangle. You  
define a button (which can be long and skinny) and then the parameters are  
passed through BarButton() which hilites the appropriate fraction of its  
length. You can probably find BarButton at your friendly neighborhood FTP  
site. 
2. Apple's Compatibility Checker stack (distributed when System 7 came out)  
has a similar feature that runs in color using an XCMD named "Thermometer". 
It's probably not public though. 

So use BarButton, unless you Really Really need color. 
--

* Dave Blackburn  dblackbu@alleg.edu  flames to self@home.dev.null *          
* Chemistry, Macs, Hypercard, cats,  <>< religion, & the Dead      *
* (Anyone else who held these opinions would be as crazy as I am.) *
*   "Sometimes the songs that we hear are just songs of our own"   *
Newsgroups: comp.sys.mac.hypercard
From: kaschenb@fraser.sfu.ca (Kevin Ernest Aschenbrenner)
Subject: Problem...help!
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Wed, 6 Jan 1993 01:02:21 GMT

I have a real tough problem that I would appreciate
some help with.  I recently transferred a game stack
that came as shareware with my MacPlus to my new Mac
Classic II.  The problem is that I can't play it because
the stack must be converted first to allow me to enter
commands and I can't convert it because the preferences for the
stack are passworded, and locked into cantModify and browse.
Anyone have any ideas as to how I might convert this stack
so I can play the game?
Any help, either posted or via e-mail would be appreciated.

Kevin
.

Newsgroups: comp.sys.mac.hypercard
From: NJTaber@MITRE.org (N. J. Taber)
Subject: Re: Help Deleting Cards
Organization: The MITRE Corporation
Date: Wed, 6 Jan 1993 13:48:50 GMT

On 4 Jan 1993 23:12:13 GMT, jstern@garnet.berkeley.edu () writes:

> I've found (at least with the corruptions I've had) that corrupted
> cards don't "exist". The following loop works:
> repeat with x = 1 to the number of cds
>    if there is a cd x then
>       go cd x
>       domenu "copy card"
>       go to stack uncorrupted
>       domenu "paste card"
>       go to stack corrupted
>    end if
> end repeat

Great tip - but as written, this script will result in scrambling the 
order of cards copied into stack uncorrupted.  It should work correctly 
with "go to last card of stack uncorrupted" before pasting.

Hope this helps!
N. J. Taber
NJTaber@MITRE.org
From: ericg@getafix.cs.uoregon.edu (eric leander gorr)
Newsgroups: comp.sys.mac.hypercard
Subject: HELP...!!!
Date: 12 Jan 93 18:21:36 GMT
Article-I.D.: cs.1993Jan12.182136.2160
Distribution: usa
Organization: University of Oregon Computer and Information Sciences Dept.

While I was using a hypercard stack, my computer crashed.  Now when I 
try to open that same stack again, I get the error message:

Can't open stack 'X'.
Passwords don't match.

What can I do to get around this and use my stack again.

Please respond via-email.

Thanx...
Newsgroups: comp.sys.mac.hypercard
From: dremsen@mbl.edu (David Remsen)
Subject: Hypercard Error Message
Organization: Marine Biological Laboratory
Date: Tue, 12 Jan 93 20:16:04 GMT

I was opening my HyperCard stack, Addresses with Audio when I got the
following
error message:   Can't open stack "Addresses with Audio".  File System
error -108.

The file can't be opened.  Clicking on the button to open this stack does
nothing.
Nothing. The file doesnt open nor does the message appear.  The message
appears when you open through the file menu.

I'm stuck. I need the addresses and don't know what to do. The stack
won't open with Hypercard on another machine either.

Any suggestions would be helpful.

Thanks, David Remsen
Newsgroups: comp.sys.mac.hypercard
From: dblackbu@alleg.edu (Dave Blackburn)
Subject: Re: novice help, please
Organization: Allegheny College
Date: Tue, 12 Jan 1993 16:28:28 GMT

In article <C0potF.26o@iapa.uucp%mailhost.ecn.uoknor.edu>  
ctrbdo@iapa.uucp%mailhost.ecn.uoknor.edu (bryan d oakley) writes:
|I just bought a Performa 600CD which came with a hypercard player
|(*sigh*).  However, on one of the free CD's there was what appears to
|be hypercard 2.1 (Yea!).  I also know that Claris sells a hypercard
|developers kit.  The question?  What is the difference between
|hypercard 2.1 and what you get with the developers kit?  It appears
|that with hypercard 2.1 I can create my own cards, etc. which is what
|I thought the developers kit was for.  If I go out and buy a book on
|hypercard 2.1, can I then create my own stacks using the hypercard 2.1
|I found?
|Also, I have a friend with a Plus he's had since new, and his system
|came with a whole slew of stacks to muck around with.  Mostly simple
|stuff; a phone dialer, address stack, and so on.  Are there any really
|nifty stacks that I just gotta have?
|/'''  ---------------------------------------------------------------
|c-OO  Instrument Approach Procedures Automation       DOT/FAA/AMI-230
|   \  ---------------------------------------------------------------
|  -   Bryan D. Oakley             ctrbdo%iapa@mailhost.ecn.uoknor.edu

Hey, lucky you to get both the Player and real Hypercard! The Hypercard  
Developers Kit comes with the full set of release stacks, including the  
excellent and valuable Power Tools stack, a couple of good Help stacks, and  
some pre-scripted buttons and fields. It also has comprehensive documentation.  
If you were to go out and "buy a book" you would spend $25-$40, if you wanted  
a book with a disk. Or you can order the Developer Kit from a discount  
mail-order house for around $100 and get all the stacks, and better  
documentation than in any one third-party book. So if you can afford it, get  
the Developer Kit!
As for "really nifty stacks that I just gotta have", there are thousands.  
Spend some time browsing through FTP archives, or get a CD-ROM collection like  
Educorp's that has a few zillion of them. 
--

* Dave Blackburn  dblackbu@alleg.edu  flames to self@home.dev.null *          
* Chemistry, Macs, Hypercard, cats,  <>< religion, & the Dead      *
* (Anyone else who held these opinions would be as crazy as I am.) *
*   "Sometimes the songs that we hear are just songs of our own"   *
From: David.Rogers@f6268.n106.z1.fidonet.org (David Rogers)
Sender: Usenet@f-454.fidonet.org
Newsgroups: comp.sys.mac.hypercard
Subject: HYPERHIT BY SOFTSTREAM INTERNATIO
Date: Sat, 09 Jan 1993 19:51:28 -0600

Component Software, 1-800-633-4252 makes product called File-Flex. It is a
glorified XCMD which will enable you to make a fully relational database using a
Hypercard front end. The data is not stored in stacks, It can even read and
write to *.DBF files. It is extremely fast. I used it to write a knock-off of an
application a person had written for me in dBase III. On a Mac SE, File-Flex
works faster than the dBase III app on a '286. 
 
It costs $119.00 and the documentation is lousy but once you get the hang of it
you'll love it. 

Newsgroups: comp.sys.mac.hypercard
From: mhz7c@curry.edschool.Virginia.EDU (Mark H. Zollinhofer)
Subject: Re: Problem...help!
Organization: University of Virginia
Date: Fri, 8 Jan 1993 05:57:00 GMT

This is just a guess because I haven't tried it -- You might
try using ResEdit to unlock the file, but as always, do it on a
copy of the original in case you get it wrong.

Mark
--
|   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: shawn@cars.com (Shawn Connelly)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Menu Question
Date: Mon, 4 Jan 93 13:18:21 EST
Organization: Connelly Automation Research and Services
Reply-To: shawn@cars.com
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <103422@netnews.upenn.edu> (comp.sys.mac.hypercard), gasser@eniac.seas.upenn.edu (Nathan Gasser) writes:
> >> I have made my own menus in the menubar and I was wondering
> >> how to enable them.
> 
> >you have to write a "domenu" handler 
> >on domenu What
> >  if what = "your menuitem" then
> >    your commands
> >    exit domenu
> >  end if
> >  if what =  "Your next menuitem" then
> >    your commands
> >    exit domenu
> > end if
> > pass domenu
> >end domenu
> [...]
> >it is also possible to use menuMessage when you create the menu, but
> >I think that domenu is easier if you do it for the first time.
> 
> 
> I really think the menuMessage approach is a thousand times better,
> and it's not hard at all:
> 
> on menuInstall
>   if there is a menu "Jokes" then delete menu "Jokes"
>   create menu "Jokes"
>   put "Knock-Knock" into menu "Jokes" with menuMessage "doKnock"
>   put "Limericks"  after menu "Jokes" with menuMessage "doLimerick"
>   put "Light Bulb" after menu "Jokes" with menuMessage "doBulb"
>   [...]
> end menuInstall
> 
> Then when someone chooses a menu item, the cooresponding menuMessage
> handler is issued.  You can only have a 1 line command for each menu item,
> though.  Just make handlers to do what you want for each item.
> 
> Trapping doMenu is no fun, nor is a mile-long if-then-else.  
> 

There's an undocumented feature with menuMessage's though. You cannot
have any more than 20 menuMessages. For this reason, I always trap
and use on doMenu. Yes, I have mile-long if0then-else statements, but
maybe this could be solved with a 'case' statement in the next version
of HC, not to mention the restirction previously mentioned.

------------------------------------------------------------------------
Shawn Connelly                          |  Go Colorado Rockies!
Connelly Automation Research & Services |   The only undefeated team
P.O. Box 720442                         |    in the Nat'l League West!
Atlanta, GA 30358-2442                  |
Internet: shawn@cars.com or shawn@csn.org; UUCP: ...!csn!sable!shawn
Newsgroups: comp.sys.mac.hypercard
From: loa@syo.lu.se (Lars-Olof Albertson)
Subject: Re: Text in Background Fields
Organization: Lund University
Date: Tue, 5 Jan 1993 19:28:35 GMT

In article <ellens-050193130021@47.220.2.154> ellens@bnr.ca (Chris Ellens) 
writes:
> I'm sure there's a simple answer to this but I'm stumped. How can I 
create
> a field in the background and enter text into it? I can create the field
> ok, and I can enter text into it at the card layer, but if I then set the
> "shared text" property, all of the text disappears. I can't enter the 
text
> at the background layer at all (I don't get the I-beam cursor). Cutting 
the
> field from a card and pasting to the background also deleted all of the
> text.
Chris,
You must be in the backgound to be able to write in a field with shared 
text.
Just take the menu Edit, Background  and then you can enter text
to a field with shared text.

Greetings

Lars-Olof Albertson
From: David.Rogers@f6268.n106.z1.fidonet.org (David Rogers)
Sender: Usenet@f-454.fidonet.org
Newsgroups: comp.sys.mac.hypercard
Subject: GLOBAL COMPACTING
Date: Sat, 09 Jan 1993 19:46:33 -0600

I found a program on AOL called Stack Crusher 1.4. You can tell it to compact a
specific stack or stacks, or a folder or even every stack on a disk. 

Newsgroups: comp.sys.mac.hypercard
From: borad@yoyo.cc.monash.edu.au (David J Richardson)
Subject: XCMD for Quicktime?
Organization: Monash University General Access Unix
X-Newsreader: TIN [version 1.1 PL8]
Date: Wed, 13 Jan 1993 02:56:19 GMT
From: bwalker@nosc.mil (Beth Walker)
Newsgroups: comp.sys.mac.hypercard
Subject: Help w/ bitwise operations
Date: 8 Jan 93 20:06:38 GMT
Distribution: usa
Organization: Naval Ocean Systems Center, San Diego

I have a need to do some bitwise operations (AND, OR, NOT,
SHIFT) in a script I am trying to build.  The only operations
I have found are the standard arithmetic ones, and strictly
True/False type operations for And, Or, etc.

Can bit-level operations be done in Hypercard?  Any help
would be appreciated.
Newsgroups: comp.sys.mac.hypercard
From: brod@jessica.Stanford.EDU (Brodie Lockard)
Subject: Page Setup from script?
Reply-To: brod@jessica.Stanford.EDU (Brodie Lockard)
Organization: Stanford University
Date: Fri, 8 Jan 93 00:00:17 GMT

I have some text that should print in portrait mode and some maps that
should print in landscape mode.  Is there any way to change the orientation
from HyperTalk so users needn't go through the Page Setup dialog?  Does
anyone have an XCMD that does this?


Brodie Lockard      brod@jessica.stanford.edu
Newsgroups: comp.sys.mac.hypercard
From: bhostetl@silver.ucs.indiana.edu (Brian Hostetler)
Subject: Field in Palette?
Keywords: palette, fields
Organization: Indiana University
Distribution: comp.sys.mac.hypercard
Date: Wed, 6 Jan 1993 22:09:26 GMT

I've tried using PowerTools to create a palette with a field, but it
doesn't work.  Basically, I'm trying to create a search palette where
the user just puts something into the field and clicks on a button
specifying the type of search.  What to do?




-- 
-brian

bhostetl@ucs.indiana.edu          |      "Even if the brain is removed,
bhostetl@silver.ucs.indiana.edu   |     the insekt continues to live..."
Newsgroups: comp.sys.mac.hypercard
From: Ben Burch <Burch_Ben@wes.mot.com>
Subject: Printing problems under System 7.1?
Organization: Motorola, Inc.
Date: Tue, 12 Jan 1993 07:19:12 GMT
X-Xxmessage-Id: <A77821999D01B081@ben_burch.pb.wes.mot.com>
X-Useragent: Nuntius v1.1.1d16
X-Xxdate: Tue, 12 Jan 93 01:19:53 GMT

Hello!  I upgraded to System 7.1 a while back.  Last night, I tried to use
the "Report" feature of HC 2.1 to dump my address book stack. It crashed
in several interesting ways.  Am I alone in this, or do other people have
problems printing under System 7.1?  For reference, I have

Mac IIci
12 Meg RAM
HP Paintwriter Printer
System 7.1

It fails just as nicely with a couple of other printer drivers, so I don't
think this is a problem for HP.  Also fails with extentions disabled.

-Ben
From: gasser@eniac.seas.upenn.edu (Nathan Gasser)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Help with levels
Date: 11 Jan 93 00:46:45 GMT


In article <1993Jan10.234505.9829@news.acns.nwu.edu> d_reiss@retief.astro.nwu.edu (David Reiss) writes:
>I need some help...I just got a powerbook and it came with a 
>"Hypercard player," but I know that you can program with it
>using the "magic" word...to get all five levels.  This doesn't
>seem to work with this new version (I think it`s version 2.1 or
>something like that). 
>[...]

Whoops!  No programming allowed, man.  Claris finally got the
"crippleware" concept right.  Applications called "HyperCard Player"
really don't allow any scripting -- they don't have any script
editor built in.  It's still HyperCard 2.1 in every other respect,
though.

Here's something to try:  Get a simple word processor (TeachText will
do fine) and type in a script.  Copy and paste it into a field -- 
call it cd fld "script."  Into the message box, type "set the script of
this card to cd fld 'script.'"  It ought to work -- setting the script
of various objects ought to be allowed under script control,
and therefor the Player ought to allow it to maintain compatibility.
You can try typing "Set the userlevel to 5" into the message box first.

Nate.

--

Nathan Gasser       ><>         
gasser@eniac.seas.upenn.edu
From: d_reiss@retief.astro.nwu.edu (David Reiss)
Newsgroups: comp.sys.mac.hypercard
Subject: Help with levels
Date: 10 Jan 93 23:45:05 GMT
Organization: Northwestern University, Evanston, Illinois, USA

I need some help...I just got a powerbook and it came with a 
"Hypercard player," but I know that you can program with it
using the "magic" word...to get all five levels.  This doesn't
seem to work with this new version (I think it`s version 2.1 or
something like that).  DId they change Hypercard so typing
'magic' on the last card in the home stack  won't add the
4th and 5th user levels?

Thanks to anyone with any ideas.

dreiss
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How to find if you are in the background?
Date: 6 Jan 93 02:37:36 GMT
Followup-To: comp.sys.mac.hypercard
Organization: Apple Computer, Inc.

In article <1993Jan5.201827.11325@pollux.lu.se>, loa@syo.lu.se (Lars-Olof
Albertson) wrote:
> 
> In article <1iacheINNdh4@moe.ksu.ksu.edu> Chandima Cumaranatunge 
> <chan@matt.ksu.ksu.edu> writes:
> > how can I find out if I'm in the background from within a HyperTalk
> > script?
> 
> if the checkmark of menuitem "Background" of menu "Edit" is true then
>   -- you are in the background
> else
>   -- you are not in the background
> end if

No offense, but this is way more obtuse than you need.  Use the property
editBkgnd instead.  You can set this also to have more precision than
"doMenu Background" which only toggles the background edit.

Of course, the question might have refered to the background as having
another program frontmost and Hypercard in the background.  This is the
function "the suspended" which is true when Hypercard is in the background
and false when it is frontmost.

I have also written an XFCN called Hidden which is true if Hypercard is
hidden by the Hide Hypercard menu item.  It is available from ftp.apple.com
in the /pub/pugh/hyperstuff directory.

Jon
From: jstern@garnet.berkeley.edu ()
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Help Deleting Cards
Date: 4 Jan 1993 23:12:13 GMT
Organization: University of California, Berkeley
NNTP-Posting-Host: garnet.berkeley.edu

In article <edandavi.725335817@well.sf.ca.us> edandavi@well.sf.ca.us (Ed Allen and Avi Rappoport) writes:
>
>With corrupted stacks with a few corrupted cards, the usual answer is to
>move everything else.  Write a script that automates a big loop of copying
>and pasting cards to a new stack, but which skips the bad ones (whose
>numbers you have previously identified).  Start the script, see that it is
>going okay, and take a coffee break while it churns through your stack.
>
Actually, you don't even have to "previously identify" the bad ones.
I've found (at least with the corruptions I've had) that corrupted
cards don't "exist". The following loop works:
repeat with x = 1 to the number of cds
   if there is a cd x then
      go cd x
      domenu "copy card"
      go to stack uncorrupted
      domenu "paste card"
      go to stack corrupted
   end if
end repeat

This way you don't have to take the time to even figure out what card(s) is/are
corrupted. (You can add an "else" to the loop, so that it keeps track
of which ones were corrupted, if you need that info.)

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


Newsgroups: comp.sys.mac.hypercard
From: jpugh@apple.com (Jon Pugh)
Subject: Re: Need help with submenus
Date: Sun, 10 Jan 1993 04:59:54 GMT
Distribution: comp
Organization: Apple Computer, Inc.
Followup-To: comp.sys.mac.hypercard

In article <1993Jan8.135146.16734@vax5.cit.cornell.edu>,
vry@vax5.cit.cornell.edu wrote:
> 
> 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. 

You have to use an external for the whole thing.  I can recommend Rinaldi's
"menu" XCMD, available at Sumex.  You can't just add a submenu to one of
Hypercard's menus.

Jon
Newsgroups: comp.sys.mac.hypercard
From: ctrbdo@iapa.uucp%mailhost.ecn.uoknor.edu (bryan d oakley)
Subject: novice help, please
Organization: FAA / Mike Monroney Aeronautical Center
Date: Mon, 11 Jan 1993 22:51:14 GMT

I just bought a Performa 600CD which came with a hypercard player
(*sigh*).  However, on one of the free CD's there was what appears to
be hypercard 2.1 (Yea!).  I also know that Claris sells a hypercard
developers kit.  The question?  What is the difference between
hypercard 2.1 and what you get with the developers kit?  It appears
that with hypercard 2.1 I can create my own cards, etc. which is what
I thought the developers kit was for.  If I go out and buy a book on
hypercard 2.1, can I then create my own stacks using the hypercard 2.1
I found?

Also, I have a friend with a Plus he's had since new, and his system
came with a whole slew of stacks to muck around with.  Mostly simple
stuff; a phone dialer, address stack, and so on.  Are there any really
nifty stacks that I just gotta have?

Thanks.



-- 
/'''  ---------------------------------------------------------------
c-OO  Instrument Approach Procedures Automation       DOT/FAA/AMI-230
   \  ---------------------------------------------------------------
  -   Bryan D. Oakley             ctrbdo%iapa@mailhost.ecn.uoknor.edu
Newsgroups: comp.sys.mac.hypercard
From: joshr@kronos.arc.nasa.gov (Joshua Rabinowitz-Summer-91)
Subject: Re: RTF to HyperCard XCMD?
Organization: NASA/ARC Information Sciences Division
Date: Tue, 12 Jan 1993 21:12:01 GMT

In article <1993Jan12.034815.683@Princeton.EDU> daveh@phoenix.Princeton.EDU (David L. Herrington) writes:
>Does anyone know of an XCMD that will read an RTF file and bring it into
>a HyperCard field with formatting reasonably intact?
>

I am looking for this too.
joshr@kronos.arc.nasa.gov
>-- 
>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


-- 
----------------------------------
#include <std/disclaimer.h>     Josh Rabinowitz, Mac TCL programmer
joshr@kronos.arc.nasa.gov
"Me lost my cookie at the disco." -- Cookie Monster