HDTenEightyP/NetNews huggingface dataset:
From: sekey@engrhub.ucsb.edu (Andrew Sekey)
Newsgroups: comp.sys.mac.hypercard
Subject: How to do subscripts/superscripts in HyperCard?
Date: 31 Dec 92 01:22:35 GMT
Organization: University of California, Santa Barbara


	In trying to mix simple formulas with text, I realized that I cannot
write the latter on fields, since I do not know how to do subscripts and super-
scripts with the HC text editor.
	I do have the limited Equations Editor that comes with MS Word 5.0,
but anything created there is treated as a picture by HyperCard, and is thus
automatically relegated *behind* the field layer.
	Are there some magic keystrokes to produce something like "x sub n" or
even x squared on a field, mixed in with text?
	(A brute force method would be to put all text fields into the back-
ground, but that would rule out sharing backgrounds...)
	Any help will be appreciated.

	Andrew
	(sekey@ece.ucsb.edu)
Newsgroups: comp.sys.mac.hypercard
From: edandavi@well.sf.ca.us (Ed Allen and Avi Rappoport)
Subject: Re: Help Deleting Cards
Organization: Whole Earth 'Lectronic Link
Date: Sat, 26 Dec 1992 02:10:17 GMT


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.

Ed Allen
edandavi@well.sf.ca.us
BMUG HyperCard SIG Leader    Scripter for Hire
Newsgroups: comp.sys.mac.hypercard
From: edandavi@well.sf.ca.us (Ed Allen and Avi Rappoport)
Subject: Re: Initial palette state
Keywords: palette, state buttons
Organization: Whole Earth 'Lectronic Link
Date: Thu, 24 Dec 1992 19:04:29 GMT

In <1992Dec11.162545.970@bmerh85.bnr.ca> neal@bnr.ca () writes:

>I've created a tools library stack - just a card with a bunch of buttons that bring up various useful palettes - which I 'start using' wherever I am...

>My problem arises with 'state' palettes. For example, I have a two button one the locks the current stack to allow simulated user testing or unlocks it for development. After the first use, the hilighted side shows the stack state - but on initial opening, neither side is hilighted.

>Is there any way to communicate the state of the stack to the palette on opening such that it reflects the state without my having to 'prime' it?
You can do this by using the statement

set the hilitedButton of window <paletteName> to <whatever>

inside the appropriate if - then clause to check the state you are
interested in.

I'm not absolutely sure of the syntax in that one, didn't look it up, but I
know there is a hilitedButton property that ccan be set for palettes.

Ed Allen
edandavi@well.sf.ca.us
BMUG HyperCard SIG Leader   Scripter for Hire
From: gasser@eniac.seas.upenn.edu (Nathan Gasser)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Menu Question
Date: 30 Dec 92 20:36:50 GMT

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

Nate.
--

Nathan Gasser       ><>         
gasser@eniac.seas.upenn.edu
From: shawn@cars.com (Shawn Connelly)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: beginner...
Date: Tue, 22 Dec 92 17:51:27 EST
Organization: Connelly Automation Research and Services
Reply-To: shawn@cars.com
Distribution: world
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <1992Dec19.191034.368336@magicbb.uucp> (comp.sys.mac.hypercard), sharkman@magicbb.uucp (Matt Daw) writes:
> 
> Hi guys, I'm a beginner in Hypertalk and I need some help with something. I
> need to be able to take a ttxt file and put it into a new field that will be
> created in the same place on every card on a new card. PLEASE help me....
> 
> MAtt
> 

Hi Matt,

Are you trying to have the same text in this file on every card.
If so, the job's a simple one. Create a background field, and
then bring up the field dialog box. The last property on the
left side is 'Shared Text'; check it and click 'OK'. Now copy
the text and from the background, paste it into your field.

Presto...

Good Luck.


------------------------------------------------------------------------
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
Organization: Central Michigan University
Date: Saturday, 26 Dec 1992 19:30:15 EST
From: CHUCK WILLIAMS <34A6J53@CMUVM.CSV.CMICH.EDU>
Newsgroups: comp.sys.mac.hypercard
Subject: Need equivalents to common data structures

Hello Geniuses,

I am having a hard time getting used to hypertalk.  I think it is
very intuitive and easy to use, but I wish it had arrays, records,
you know, good things like that.  What I need is to be able to create
a queue that will hold a list of people who are waiting for a
computer (this is for a computer lab.)  When a current users time
is up, I have a flag that will alert me to that fact.  What I would like
to do is be able to move the first person in the queue to that available
machine. The problem is I don't know how.  Also, one more question.  When
I ask for student ID input (via the ask cmd), does it take the input as a
character string or numeric (the input would be something like 21345679?)
If it does read it as a number, how would I convert it to a character string?

Hope these aren't rudimentary questions, I couldn't find the answers in the
scripting guide.  Thanks for any help you can give.

Chuck

P.S. Can you define arrays in hypercard?  Or are they just fields you
must reference one char at a time.
From: km2a+@andrew.cmu.edu (Kenneth E. Mohnkern)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Hi-liting a locked field
Date: 22 Dec 92 07:57:02 GMT
Article-I.D.: andrew.EfBpPiK00iVgM1m3wl
Organization: Robotics Institute, Carnegie Mellon, Pittsburgh, PA


Excerpts from Mark H. Nodine@lcs.mit.e:
> babb@sciences.sdsu.edu (J. Babb) writes:
> |> 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?
>  
> HyperCard has very obediently selected the field for you.  Oh,
> you wanted to select the _contents_ of the field?  Try this:
>  
>   select line 1 to 32000 of cd fld chalkb
>  
> (You can actually compute how many lines to select:
>  
>   select line 1 to (the number of lines of cd fld chalkb) of cd fld chalkb
>  
> but the code I gave will work faster.)

An easier way out is to just say:
   select text of cd fld chalkb

     ken


# ken mohnkern #  multimedia specialist  &  graphic artist  #
               # the graphics deli # the robotics institute #
               # carnegie mellon university # pittsburgh pa #
               #       "It's a big old goofy world."        #
From: derthanq@oregon.uoregon.edu (Victor Der-Thanq Chen)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Hi-liting a locked field
Date: 22 Dec 1992 23:53 PST
Organization: University of Oregon
Distribution: world
NNTP-Posting-Host: oregon.uoregon.edu
News-Software: VAX/VMS VNEWS 1.41    

In article <1992Dec22.175845.24799@agt.uucp>, Allen Winter <AWINTER1@agt.ab.ca> writes...
>In article <1992Dec17.235134.3822@fcom.cc.utah.edu> Eric C. Kofoid,
>kofoid@bioscience.utah.edu writes:
>>1. Make the field transparent.
>>2. Set the textstyle to outline.
>>3. Paint a black rectangle behind the field.
> 
>The above works very well.  Now to actually select text from within a
>script: 
> 
>    put the number of lines in card field 1 into lastLine
>    select line 1 to lastLine of card field 1

Or something even shorter:

    select the text of card field 1

*************************
Victor Chen
U. of Oregon
*************************
From: thingles@xerxes.cs.umn.edu (Jamie Thingelstad)
Newsgroups: comp.sys.mac.hypercard
Subject: Sending true AppleEvents in HyperCard 2.1
Date: 29 Dec 92 17:49:23 GMT
Followup-To: thingles@xerxes.cs.umn.edu
Organization: University of Minnesota, Minneapolis, CSci dept.


Ok, this seems to me to be kinda a big problem.

I am using HyperCard 2.1 and send appleevents around using the
SendAppleEvent XCMD. It seems this XCMD is a little buggy, now what
I am wondering is:

  1) are there any other XCMD's out there that allow any AE's to
     be sent.?

  2) is claris going to be smart enough to incorporate this
     SendAppleEvent feature right into future versions of HC?


--
--

   _/_/_/_/ _/_/   _/  _/ _/ _/_/_/   Jamie Thingelstad               624-4037
      _/   _/  _/ _/_/_/ _/ _/_/      Technology Coordinator
Newsgroups: comp.sys.mac.hypercard
Distribution: world
From: sharkman@magicbb.uucp (Matt Daw)
Organization: MAGIC - Macintosh Awareness Group In Canada
Date: Sat, 19 Dec 1992 19:10:34 EST
Subject: beginner...

Hi guys, I'm a beginner in Hypertalk and I need some help with something. I
need to be able to take a ttxt file and put it into a new field that will be
created in the same place on every card on a new card. PLEASE help me....

MAtt
From: fsullivn@vax1.tcd.ie
Newsgroups: comp.sys.mac.hypercard
Subject: HELP:  Counting days...
Date: 29 Dec 92 12:34:17 GMT
Organization: Trinity College Dublin

How do I count days in HyperCard?

I'm writing a library management stack where a book is borrowed on one day and
returned on another.  If the book is overdue, I want the stack to bill the
borrower for the appropriate amount based on the number of days the stack is
late.

This must be an easy problem to solve, but I can't quite crack it.  Any advice
or suggestions, especially direct by email would be welcome.  I'll post the
solution, and possibly the whole stack later if it works out.

Thanks in advance,

Fergus Sullivan,
Trinity College, Dublin.
From: mike@pyrite.SOM.CWRU.Edu (Michael Kerner)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: AddMotion for HC
Date: 21 Dec 1992 19:10:07 GMT
Organization: WSOM CSG, CWRU, Cleve., OH, 44106, USA
NNTP-Posting-Host: pyrite.som.cwru.edu

In article <BzGtG0.IAt@ccu.umanitoba.ca> browns@ccu.umanitoba.ca (Stuart Brown) writes:
>I'm working on a HC stack that will be an interactive mathematics teacher.
>We want to include color and animation without using huge amounts of memory
>(as lots of Quicktime movies would).  I've looked at some software called
>AddMotion that claims to do just this.

Nope, it doesn't.  AddMotion is o.k. for animation, but it blows for
color cards - every time you load what you think is a color card you
wind up with an extra 2MB of resources - PER CARD!  AddMotion is also
slow in getting the color up.  So, as an animation generator/viewer
it's pretty good (but you still have that extra 2MB loaded per
animation sequence - which you can unload, but loading and unloading
takes time).  Of course, if you've ever used MacroMind Director you'll
think that AddMotion is a shoddy tool.  Quicktime really is a better
way to go, if you can swing it - but it depends on how complex your
animation is.  Oh, by the way, AddMotion has some annoying bugs - I
sent MotionWorks in all about twelve pages of bug reports when the
product first came out - and it hasn't gotten much better, in my
opinion.

If you want color cards, use ColorizeHC from BungDabba (available via
anonymous FTP from tons of sites).  It works well (although real color
in HC would work better), and the docs are good.


>Also, it would be really useful if somehow this stack could be made to
>stand alone -ie. not require HyperCard to run on the users computer.  Are
>there any viable solutions for this?

Well, there's the player if you want to shell out $$$, or you can
check into Double-X from Heizer software which I'm waiting for right
now (I was expecting it last week, so I should have it any day now)
which claims to make application creation very easy - we'll see...

If you have questions, please EMAIL me.  I'll be happy to answer ( I
often don't rn for several days at a time and with Christmas fast
approaching there's no guarantee that I'll be back in soon).

Mikey.
--
Mikey.
Mac Admin "Emeritus"-WSOM CSG - CWRU / 	Engineer-NewMedia Corp. Cleveland, OH
"Yo, man, black & white people gotta' start communicating, man - we need each
other - see, we're the only ones left that speak English!" - Frank Dix.
Newsgroups: comp.sys.mac.hypercard
From: Tom Benedict <tbenedic@halcyon.com>
Subject: Re: ItemDelimiter property in HC 2.1
Originator: bbs@halcyon.com
Organization: The 23:00 News and Mail Service
Date: Tue, 29 Dec 1992 01:50:59 GMT

vry@vax5.cit.cornell.edu writes:

> Does anyone out there know about the ItemDelimiter property in HC 2.1?
> Someone told me it existed, but I haven't been able to find any documentation
> on it, and it sounds like something I could really use. If you know about it
> then please e-mail me at vry@cornella.cit.cornell.edu. Thanks.
> 
> Victor Chavarria

You can use the itemDelimiter property in HyperCard 2.1 to specify, for 
the duration of the handler, the character that HyperCard should 
recognize as delimiting the 'item' chunk.
this means that you can parse a short file name out of the long path name 
"My Disk:HyperCard 2.1:My Stacks:theStackName" with the following 
function:
function shortFileName str
  set itemDelimiter to ":"
  get last item of str
  set itemDelimiter to comma
  return it
end shortFileName

Note that even though the itemDelimiter is reset to comma on idle, I 
explicitly set it back to comma within the function because the handler 
which calls shortFileName may do some item manipulation that expects 
comma delmited chunks.

the itemDelimiter property is very useful.

Tom Benedict
Newsgroups: comp.sys.mac.hypercard
From: Don Hubbard <hubbard@uswat.advtech.uswest.com>
Subject: hypercard/supercard & speed issues
X-Xxdate: Thu, 31 Dec 92 11:11:23 GMT
Organization: US WEST Advanced Technologies
X-Useragent: Nuntius v1.1.1d11
Date: Thu, 31 Dec 1992 18:02:54 GMT

Hello,
I'm looking for ways to speed up an app that we have prototyped in
SuperCard. I apologize if this has been covered before... 
Are there any products which allow you to compile your stacks? I *think*
I've heard of something for HyperCard, maybe called CompileIt?
Comments regarding the availability, cost and your opinions of any such
product would be greatly appreciated!
Thanks in advance,
Don
Newsgroups: comp.sys.mac.hypercard
From: brod@jessica.stanford.edu (Brodie Lockard)
Subject: Re: Help! I need the time in my stack
Organization: Academic Information Resources
Date: Mon, 21 Dec 92 08:33:57 GMT

In article <92356.01033234A6J53@CMUVM.CSV.CMICH.EDU> CHUCK WILLIAMS <34A6J53@CMUVM.CSV.CMICH.EDU> writes:
>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,

In your stack script:

on openStack
  global timeIn, timeLimitInMinutes
  put the ticks into timeIn
  put 20 into timeLimitInMinutes --or whatever you want the limit to be
  ...
end openStack

on idle
  global timeIn, timeLimitInMinutes
  if (the ticks - timeIn) / 3600 > timeLimitInMinutes then
    answer "Time's up!" with "Goodbye"
    go home
  else
    ...
  end if
  pass idle
end idle

Brodie Lockard      brod@jessica.stanford.edu
Newsgroups: comp.sys.mac.hypercard
From: aa443@Freenet.carleton.ca (Robert Szarek)
Subject: SuperCard Books recomendations?
Reply-To: aa443@Freenet.carleton.ca (Robert Szarek)
Organization: The National Capital Freenet
Date: Wed, 23 Dec 1992 18:41:09 GMT


Can any SuperCard users recommend a book that covers SuperCard 1.6?
I need the title of the book, author, and publisher.

Any help is welcomed.

P.S. Please mention any weak/strong points of each book.

Rob.
-- 
Robert A. Szarek
NCF/National Capitol Freenet
Ottawa, Canada
aa443@freenet.carleton.ca
Newsgroups: comp.sys.mac.hypercard
From: Allen Winter <AWINTER1@agt.ab.ca>
Subject: Re: Strange behavior
X-Xxdate: Tue, 22 Dec 92 10:35:49 GMT
Organization: AGT Ltd
X-Useragent: Nuntius v1.1.1d9
Date: Tue, 22 Dec 92 17:44:52 GMT

In article <1992Dec15.230937.599@newshost.lanl.gov> David G. Simmons,
davids@gardener.lanl.gov writes:
>on fooBar cdNo
>   put line 1 of bg fld "pweek" of cd cdNo + line 1 of bg fld "aweek" of
cd cdNo
>	into temp1
>end fooBar
>
>I have MANY lines before this that use the "bg fld XX of cd cdNo"
reference
>without difficulty.  However, whenever I get to THIS particular line,
>I get a "No such card" message.  I can comment out this line, and
subsequent
>lines with this SAME syntax work just fine.  So what the hell is wrong?

I occasionally have similar problems when trying to reference several
levels down (e.g line x of field y of card z).  I have found that the
judicious use of brackets in the expression sometimes helps (but
sometimes not).  But what ALWAYS works is to break the instruction into
several lines.  e.g.:

   put bg fld "pweek" of cd cdNo into temp1
   put bg fld "aweek" of cd cdNo into temp2
   put line 1 of temp1 + line 1 of temp2 into temp3


Allen Winter;   
          AGT Ltd; R&D; Edmonton, Alberta
          AWINTER1@agt.ab.ca
From: martin.mike@applelink.apple.com (Mike Martin)
Newsgroups: comp.sys.mac.hypercard
Subject: Apple Jobs in Austin, TX / CAC
Date: 30 Dec 92 21:37:15 GMT
Organization: Apple Computer / Austin TX

CUSTOMER ASSISTANCE CENTER

Our top priority is being responsive to our customers.  So when they
call, we answer with the unparalleled dedication of our best people
and greatest resources.  Now we are looking for people who will field
customer's calls and provide immediate and direct response.  So help
us continue to improve Apple's total commitment to user support.  Just
answer this with your resume.


CUSTOMER ASSISTANCE CENTER MANAGER

You will be responsible for providing daily supervision an management
to phone support specialist, overseeing phone center staff activities,
and performing personnel activities including: recruitment, training,
performance evaluation, monitoring and coaching.  You should have a
BA/BS degree and 3-4+ years related experience in a general business
environment with call center / customer service management emphasis;
and excellent verbal and written communication skills. Project
management skills and Apple product and company knowledge a plus.
(Dept.  CACM 1213-AA)


USER ASSISTANCE SPECIALIST

You will be responsible for assisting Apple customers by resolving
routine post sale, end user questions and problems to ensure customer
satisfaction.  Provide up and running technical support, isolate
product hardware and software faults and determine appropriate service
options.  You should have a BA/BS degree and 1-2+ years experience in
a customer service or technical support environment; and excellent
verbal and written skills.  Extensive Apple product knowledge is
required.  (Dept.  UAS 1213-AA)


Please send your resume to: Apple Computer, Inc.  Human Resources,
(insert appropriate code from above, here), MS HRB, 2420 Ridgepoint
Drive, Austin, Texas, 78754.  Please also send electronic copies to
Mr. Mike Webb on AppleLink at WEBB.M or via internet mail at
webb.m@applelink.apple.com.

Apple Computer has a corporate commitment to the principal of
diversity.  In that spirit, we welcome applications from all
individuals.  Women, minorities, veterans and disabled individuals are
encouraged to apply.

(c) 1992 Apple Computer, Inc.  Apple, the Apple logo and "The power to
be your best" are registered trademarks of Apple Computer, Inc.
Organization: Universit de Sherbrooke
Date: Sunday, 27 Dec 1992 20:08:42 EST
From: <LDAA@UDESVM.BITNET>
Newsgroups: comp.sys.mac.hypercard
Subject: Global compacting

Is there an utility that can compact, when asked to, all the hypercard
files on a hard disk?

-Pierre Blackburn Ldaavm1.si.usherb.ca
From: chesley@apple.com (Harry R. Chesley)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Serial Toolkit -- HELP!
Date: 17 Dec 92 20:26:18 GMT

In article <1992Dec9.194650.19992@bnr.ca> Shane W.,  writes:
>I've been using the Serial Toolkit by Harry Chesley (sp?) for a while,
and I've
>recently noticed a horrific bug - it is impossible to use the printer
port! 
>Whenever I try to configure the port, I receive a message back that
"OpenDriver
>failed".  Anyone else have this problem?  Any fixes?  If anyone may have
XCMDs
>for using the printer port ONLY for serial communications, post - it is
very
>important.  Thanx in advance.

A very early version of the Toolkit had a bug that prevented the printer
port from being used. That was fixed long long ago. The most recent
version is 2.6.

Also, as another message pointed out, if you have AppleTalk turned on, it
snarfs the printer port and doesn't let anyone else open it.
From: ricampb@afterlife.ncsc.mil (Robert Campbell)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: How to do subscripts/superscripts in HyperCard?
Keywords: subscript, superscript, fonts
Date: 2 Jan 93 03:26:16 GMT
Organization: The Great Beyond

In article <7222@ucsbcsl.ucsb.edu> sekey@engrhub.ucsb.edu (Andrew Sekey) writes:
>	In trying to mix simple formulas with text, I realized that I cannot
>write the latter on fields, since I do not know how to do subscripts and super-
>scripts with the HC text editor.
>	I do have the limited Equations Editor that comes with MS Word 5.0,
>but anything created there is treated as a picture by HyperCard, and is thus
>automatically relegated *behind* the field layer.
>	Are there some magic keystrokes to produce something like "x sub n" or
>even x squared on a field, mixed in with text?

The only simple solution I know of is to use a set of fonts which includes
sub and superscripted characters. Examples of this include the ANU math font
and my BosMath font.

The problem is this: When Apple put formatted text into Mac system software
they left out any provision for subscripted and superscripted text. (This 
system is the new TextEdit with StyleRuns, found in Volume 5 of Inside Mac.)
So, when formatted text was added to HyperCard, the simplest method was
chosen - using the existing TextEdit structure. The upshot: No subscripts
or superscripts, a real pain for those trying to use HyperCard for technical
writing.

Let me know if you need a copy of a sub/superscripted font.

					- Robert Campbell -
From: vry@vax5.cit.cornell.edu
Newsgroups: comp.sys.mac.hypercard
Subject: ItemDelimiter property in HC 2.1
Date: 28 Dec 92 14:01:09 EST
Distribution: comp
Organization: Cornell University

Does anyone out there know about the ItemDelimiter property in HC 2.1?
Someone told me it existed, but I haven't been able to find any documentation
on it, and it sounds like something I could really use. If you know about it
then please e-mail me at vry@cornella.cit.cornell.edu. Thanks.

Victor Chavarria
Newsgroups: comp.sys.mac.hypercard