HDTenEightyP/NetNews huggingface dataset:
From: news@massey.ac.nz (USENET News System)
Subject: Re: Volume XCMD?
Organization: Massey University
Distribution: comp
Date: Wed, 14 Oct 92 23:04:16 GMT

From article <KONTIO.92Oct14133428@daredevil.hut.fi>, by kontio@niksula.hut.fi (Ari J Kontiainen):
> Have someone done an XCMD, that can switch system beep volume? 
> 
> 	Ari
> --
>    /  Ari Kontiainen                          /    "Joojoomies joojoomies
>   /  Servin Maijan tie 12 B 18, 02150 Espoo  /     joojoomies joojoomies"
>  /  puh 90 - 468 2165                       /  
> /  e-mail ari.kontiainen@hut.fi            /          - Mikko Kuustonen - 

There is an XFCN to do this in a number of my stacks. Try MacinTalk 4.0,
it is probably the shortest (until the next release of ScrollBars rsn).
You should find the stack on sumex/umich etc.

Hope this helps,
		Nigel
-- 
---
Dr Nigel Perry                    Email: N.Perry@massey.ac.nz
Department of Computer Science    Tel: +64 6 356 9099 ext 8900
Massey University                 Fax: +64 6 350 5611
Palmerston North
New Zealand
Newsgroups: comp.sys.mac.hypercard
From: parshall@ed.ecn.purdue.edu (Jim Parshall)
Subject: Re: What I think of HyperCard
Organization: Purdue University Engineering Computer Network
Date: Thu, 15 Oct 1992 19:19:43 GMT

In article <tal691.719131721@huxley> tal691@huxley.anu.edu.au (Tonio Loewald) writes:
>On the down side, it is hard/impossible to completely separate code from
>data when you want to, and it's also hard to fix bugs. (I once built an
>updater stack that would go through old versions of a stack and update
>scripts and add buttons, but this is pretty icky.)

Tonio,

   I agree with you on global updating of various scripts throughout a stack.
The easiest way of doing this is of course to write a handler which modifies
other scripts.  (Oh no, is this self-modifying code?!? - Well, if it's done
in a responsible manner, it saves A LOT of time...)

   However, your point about being "hard/impossible" to completely separate
code from data" is valid and in fact makes perfectly good sense.  What most
people do not realize is that HyperCard is a perfect example of an OBJECT-
ORIENTED development environment.

   Consider data abstraction (what you just mentioned), inheritance (buttons
can inherit handlers from the cards/background/stack, etc.) and poly-
morphism (sending mouseUp to a button labeled "Next Card" and to a button
labeled "Quit" create two distinctly different actions).

   Just my thoughts...

Jim
Newsgroups: comp.sys.mac.hypercard
From: parkyn@fraser.sfu.ca (Dale Parkyn)
Subject: Re: Avoid returning to "HOME" after Popping Cards
Organization: Simon Fraser University, Burnaby, B.C., Canada
Date: Thu, 8 Oct 1992 21:06:20 GMT

dpg@mundil.cs.mu.OZ.AU (Daniel Patrick GOTTLIEBSEN) writes:

>Steve Lescure <SLESCUR@auvm.american.edu> writes:
>> I have created a stack with about 175 cards. EAch card has a return button
>>which simply returns the user to the previous card (I am using the push and
>>pop functions).  If the user keeps hitting this button, he will eventually be
>>returned to the Home card.  I would like to avoid sending them to the Home
>>Card, since this creates problems for my stack.  Is there an easy way?


Here is something that works for me to prevent the above problem...

on mouseUP
  pop card into theDestination
   if "Home" is in theDestination then exit mouseUp
   go theDestination
end mouseUp

Dale 
parkyn@sfu.ca

Newsgroups: comp.sys.mac.hypercard
From: ralph@world.std.com (Ralph Lombreglia)
Subject: HyperCard Reports conflict with DoveFax
Organization: The World Public Access UNIX, Brookline, MA
Date: Fri, 9 Oct 1992 13:01:31 GMT


I'm experiencing a serious conflict with HyperCard Reports 2.x and the
DoveFax INIT which makes the modem answer the phone (this part of the
Dove software is written by STF and is part of the faxmodem software
used by other modems, too).  If I have one of HyperCard Reports's
X-windows on the screen (the layout editor, or MasterView), and my
phone rings, the DoveFax software that kicks in to answer the phone
kills the x-window of the Reports sub-application.  When the
phone-answering routing is over, I'm left with the Reports menubar
(not HyperCard's), but completely grayed-out; I can see my HyperCard
card window (including floating palettes, if any), but it won't
respond to mouseclicks because there's still a transparent "layer" of
sub-application in front, even though the window has ceased to draw
itself.  The only way out is to "force quit" HyperCard under System 7.
This situation only occurs if HyperCard (as host to Reports) is the
frontmost application when the modem answers the phone.  And I have no
problem if only HyperCard 2.1 itself is running as the frontmost app.

I've reported this to Nine to Five Software and to Dove, and they were
both interested in helping and will try to talk to each other.  I'm
posting here because I'm the first person ever to report this to
either of them, which seems statistically odd.  If you've had this
problem, I'd welcome hearing from you, and for that matter I'd
encourage you to notify Carlos Botran at Nine to Five:
carlos@ninetofive.com.

Thanks.

Ralph Lombreglia
-------------------
ralph@world.std.com
Fax: 617-646-8909
Newsgroups: comp.sys.mac.hypercard
From: johnston@me.udel.edu (Bill Johnston)
Subject: Re: How to display full-screen PICT? (Summary)
Organization: University of Delaware
Date: Wed, 7 Oct 1992 18:00:30 GMT

In article <BvnsFs.1Ds@news.udel.edu>, (Bill Johnston) wrote:

>> I'm stumped!  I would like to display a 640x480 PICT on a 
>> 640x480 screen using the Picture XCMD. 

As it turns out there are probably several ways to do this.  
The simplest is to use the "globalRect" property:

       picture pictWindowName,file,rect,false,8
       hide menubar
       set globalRect of window pictWindowName to "0,0,640,480"
       set cursor to none
       set visible of window pictWindowName to true

Jon's suggestion makes it even simpler:

       set globalRect of window pictWindowName to the screenRect

(In my original posting I used "none" for window type;  I was 
in "try anything" mode and forgot to switch back to rect when I 
pasted the code into the article.  With "rect" as window type,
it's not necessary to add 16 pixels to the dimensions to move
the scroll bars off-screen.).

Thanks to everyone who replied!  
-- 
-- Bill Johnston (johnston@me.udel.edu)
-- 38 Chambers Street; Newark, DE 19711; (302)368-1949
From: draper@odin.mda.uth.tmc.edu (E.J. Draper)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Speculation about Claris' new runtime HC
Date: 14 Oct 92 18:37:07 GMT
Article-I.D.: lib.7566
Organization: U.T.M.D. Anderson Cancer Center
X-UserAgent: Nuntius v1.1.1d12
X-XXMessage-ID: <A701D3098701019A@mdarpi1.mda.uth.tmc.edu>
X-XXDate: Wed, 14 Oct 92 13:37:13 GMT

In article <1992Oct9.200103.19307@guinness.idbsu.edu> Bruce Carter,
bcarter@claven.idbsu.edu writes:
>Depends on whether Aldus manages to kill SuperCard or Bill Appleton gets
it
>back and gets to do what he wants with it.

From the intonation of your posting it seems apparent that you consider
Bill Appleton a "Good Guy."  What makes you so sure that he'll do
something positive with SuperCard if and when he does "get it back?" 

Didn't he write it to begin with?  

The major problem with SuperCard is the fact that Silicon Beach (and now
Aldus) has never faced up to the fact that SuperCard is poorly written at
the core.  Bad memory management, poor performance, a shabby user
interface, and even conceptual stumbling blocks (ala SuperEdit)
contribute to the fact that it's a klunker of a product.  The people at
Silicon Beach have done a great job in trying to add features and
functionality to a slow and recalcitrant program while Bill was spending
the serious $$$s they gave him for the source. They should be commended
for their efforts. (Can you imagine what the source code looks like?  I'd
bet it is one of the messiest tangles of spaghetti you could ever
imagine!) 

Bill Appleton can scream foul from the sidelines all he wants.  I think
the hackers at Silicon Beach deserve a medal.  I also think he should
have the opportunity to EARN the money he was paid and redeem himself in
the eyes of the developer community.


      |E|J-  ED DRAPER
 rEpar|D|<-  Radiologic/Pathologic Institute
             The University of Texas M.D. Anderson Cancer Center
             draper@odin.mda.uth.tmc.edu
From: bcarter@claven.idbsu.edu (Bruce Carter)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Using QTime in Hypercard
Date: 14 Oct 92 21:05:50 GMT
Organization: Boise State University - CBI Product Development

In article <Bw0KoC.Gr2@andy.bgsu.edu> instone@bullwinkle.bgsu.edu (Keith
Instone) writes:
>sumex no longer has the pictoids pacakge, just the update stack to 1.1. I was
able to
>grab the 1.0 files from the mirror site uhunix2.uhcc.hawaii.edu. 4 other
mirror sites
>claimed to have the 1.0 stacks (via archie) but they were not really there.
>
>Perhaps this is an oversight by the sumex people, who thought the 1.1 update
REPLACED
>the 1.0 stacks? Or else they ran out of space.

The Info-Mac area, which is not officially a part of anything other than the
goodwill of its moderators, it just uses one of the sumex-aim computers, was
running seriously short of space and I believe they had to torpedo some of the
larger files.  Fortunately, someone came up with the idea of all the folks who
use the site kicking in a few bucks to purchase a disk drive for Info-Mac use. 
Last I heard, something like $3800 had been collected, and they were going to
purchase something in the gigabyte range.

The main moderator was amazed at the response.  People really appreciate the
Info-Mac archives.
                                     <->
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: doucas@cerberus.bhpese.oz.au (Chris Doucas)
Subject: HyperQuest: Change date (US/Int)
Organization: BHP Information Technology
Date: Wed, 14 Oct 1992 01:57:27 GMT
Followup-To: comp.sys.mac.hypercard

G'day!

I am looking for a function or process that a script can detect what system
date format a current Mac is using (ie US - mm/dd/yy or Int - dd/mm/yy).

When designing applications that will run on different Macs, some Macs have
a system date of mm/dd/yy or dd/mm/yy shown in the apple general control
panel. You can convert dates to seconds, but if you interchange date
formats, so changes your seconds. 

This raises havoc with scripts expecting a particular system date format.
Anyone know how to change or detect the system date format from a script?  
  



>              ______________________________________________________________
Regards,      | BHP Information Technology | eMAIL:
-------       | PO Box 216                 |  doucas@cerberus.bhpese.oz.au 
              | Hamilton, NSW              | FAX:                PHONE:  
the Duke..    | Australia 2303             |  +(63) 49 40 2165 / ..40 2135 

   
                 >> A Fool With A Tool Is Still A Fool ! << 
Newsgroups: comp.sys.mac.hypercard
From: bcarter@claven.idbsu.edu (Bruce Carter)
Subject: Re: CLARIS ANNOUNCES NEW HYPERCARD...
Organization: Boise State University - CBI Product Development
Date: Wed, 7 Oct 1992 17:17:13 GMT

In article <92280.092712U42075@uicvm.uic.edu> Theodore Stresen-Reuter
<U42075@uicvm.uic.edu> writes:
>Hmmm.  Wouldn't it still be possible to write a stack, using the
>developers kit, in which a user, with a run-time version, could click on
>a button which would create a new button?

As I understand it, sure.  It seems that the runtime would have to support all
of the actions that you could script.

With this in mind, it probably won't take long for some enterprizing soul to
write a script editor package too.
                                     <->
Bruce Carter, CBI Product Development                bcarter@claven.idbsu.edu
Simplot/Micron Instructional Technology Center       amccarte@idbsu (Bitnet)
Boise State University, Boise, ID  83725             (208)385-1851@phone
From: shawn@cars.com (Shawn Connelly)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: direct data transfer between stacks
Date: Thu, 8 Oct 92 10:48:55 EDT
Organization: Connelly Automation Research and Services
Reply-To: shawn@cars.com
X-Mailer: uAccess - Macintosh Release: 1.6v1


In article <1992Oct7.194832.42491@urz.unibas.ch> (comp.sys.mac.hypercard), ohnacker1@urz.unibas.ch writes:
> Hi,
> 
> maybe my question is stupid, but I have to ask it nevertheless:
> 
> Is there any possibility of a data transfer from a field of a stack A into a
> field of the current stack? All I know is, that
> 
>    put field v of card w of stack A into field x of card y
> 
> won't work. 
> 
> Thanks very much for any help.
> 
> Peter Ohnacker
> 

Nine To Five Software, as part of their Reports package, has a stack
transfer utility that will transfer information between two stacks,
either creating new cards or updating existing cards.

I use it quite often and it works really well.

Good Luck.

------------------------------------------------------------------------
Shawn Connelly                          | 
Connelly Automation Research & Services |  Go Colorado Rockies!
1910 Sharon Oaks Lane, Suite 102        |   The only undefeated team 
Charlotte, NC 28210                     |    in the Nat'l League West!
(704) 552-7304                          |      
Internet: shawn@cars.com or shawn@csn.org; UUCP: ...!csn!sable!shawn
Newsgroups: comp.sys.mac.hypercard
From: tommy@macpost.vanderbilt.edu (Tommy Williams)
Subject: Re: Group text question
Followup-To: comp.sys.mac.hypercard
Organization: Vanderbilt School of Medicine
Date: Thu, 15 Oct 1992 17:45:29 GMT

In article <93227@netnews.upenn.edu>, chiester@ccat.sas.upenn.edu (Chris
Hiester) wrote:
> 
> I'm having a problem with group text.  I have two sentences that I am setting 
> to group.  I want each of them to be a separate individual group.  The problem 
> is that they are two consecutive sentences and since I have set each of them
> to group and hypercard lumps them together as one group.  Now some commands 
> meant to work on one group don't work.  How do I make them separate groups?

There should be a space between the two sentences, so don't select that
space when you specify your groups. That separates the two groups.

--Tommy Williams        tommy@macpost.vanderbilt.edu

  The Virgil Project
  Vanderbilt University School of Medicine
  (615) 343-0343
From: Ian_Price@comms.dsto.gov.au (Ian Price)
Newsgroups: comp.sys.mac.hypercard
Subject: How to switch to desktop question
Date: 7 Oct 92 20:37:25 GMT
Organization: Communications Division

Hi netters.  I have what I hope is a very simple question.  I am running a 
Hypercard stack called netnews reader 1.2.1 to read this news.  As I am 
using a Mac Classic, I placed a hidemenu command into the script somewhere 
(as per advice from an experienced user) in order to see the whole screen.  How is it possible to switch back to the desktop from netnews when I cannot see the menu bar.  I would like to be able to switch to other applications while still running netnews in the background instead of having to quit out all the time.  I am running system 6.0.5 if that makes any difference (I cannot upgrade to system 7 as I do not have enough hard disc space).  I am also using an Apple Keyboard II not an extended one.  Please


 e-mail any suggestions.  Thanks in advance.

---------------------------------------------------------------------------
     __  |\     Ian Price
    /  |_| \    Defence Science & Technology Organisation
  .'        \   Communications Division
 /  D.S.T.O  \  PO Box 1500
 \     __    /  Salisbury 5108
  \_.-'  \__/   South Australia
           v    EMAIL: irp@comms.dsto.gov.au
---------------------------------------------------------------------------
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Show/hide menubar
From: clas005@csc.canterbury.ac.nz
Date: Tue, 13 Oct 1992 04:07:54 GMT
Organization: University of Canterbury, Christchurch, New Zealand

>>Although you can use the command "show/hide menubar", HC will not
>>evaluate the visible state of the menubar.  I.e., "the visible of
>>the menubar" does not return true or false.  Does anyone know how
>>one could construct a button to toggle between showing and hiding
>>the menubar?  Thanks.
>>--David
> 
> You could keep a variable containing the state of the menubar.

But that variable would not be updated if the *user* hide or 
showed the menubar.

The *simplest* way to do *exactly* what the original questioner 
asked is to ask HyperCard to simulate typing SPACE with the 
COMMAND key held down. This, after all, is the user command for 
toggling the menubar. Just say, "type space with commandKey".

If you really need to *know* whether the menubar is visible, 
there is an XCMD that tells you. However, it is not clear to me 
why you need to know this, since you can make sure it is showing 
by asking for show, make sure it is hidden by asking for hide, 
and toggle by the method just described.
Newsgroups: comp.sys.mac.hypercard
From: news@massey.ac.nz (USENET News System)
Subject: Re: quicktime movies on a hypercard
Organization: Massey University
Date: Wed, 14 Oct 92 03:55:58 GMT

From article <7561@blue.cis.pitt.edu.UUCP>, by cjk@cislabs.pitt.edu (Carl J Kuzmich):
> Hi All
> 
> Need some help.  What do I need to do to be able to "paste" quicktime movies
> directly onto a card? 
> 
> When pasting is complete I want the movie to look like it is ""laying" on the
> card, not in a window.....
> 
> Any and all help will be appreciated....    Thanks in advance.
> 
> -- 
> Carl Joel Kuzmich  (412) 624-1885     | Love is a better teacher than duty |
> University of Pittsburgh              |                - Albert Einstein   |
> 110 Old Engineering Hall 
> Pittsburgh, PA   15260	

You need the Pictoids Package if you want the movie to survive HC updating
the card image. If you're happy with the movie getting clobbered on screen
update you can use the Apple/Claris XCMD's (which write onto the card without
HC's knowledge, hence window updates clobber them). The Pictoid Package
is available on major archive sites, it seems it may have fallen off sumex
(not long till that bigger disc is up we hope :-)) so start looking on umich.

Hope this helps,
                Nigel
-- 
---
Dr Nigel Perry                    Email: N.Perry@massey.ac.nz
Department of Computer Science    Tel: +64 6 356 9099 ext 8900
Massey University                 Fax: +64 6 350 5611
Palmerston North
New Zealand
From: mike@pyrite.SOM.CWRU.Edu (Michael Kerner)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: Message when switching applications
Date: 14 Oct 1992 13:21:08 GMT
Organization: WSOM CSG, CWRU, Cleve. OH
NNTP-Posting-Host: pyrite.som.cwru.edu
X-Post-Machine: pyrite.som.cwru.edu

In article <1992Oct14.101714.26740@mail.cornell.edu> Don Lee <DL10@cornell.edu> writes:
>I see from the HyperTalk Reference stack that the suspendStack message
>does not get generated when switching to another application under
>Multifinder (which I assume includes System 7's Finder).  Is there any
>way a stack can recognize this kind of event?  (Probably not, but I
>thought I'd ask...)
>
>Don Lee (DL10@cornell.edu)

Yes, in fact there is.  In System 7, you can check the Application
menu for a menuitem called Hide HyperCard.  I know this works - I have
a lab application that uses it - I haven't tried to look for
checkmarks yet...

Mikey.
Mac Admin "Emeritus"-WSOM CSG - CWRU / 	Engineer-NewMedia Corp. Cleveland, OH
"I looked up the word 'Basketball Player' in the dictionary and you know what
it said?  NOT YOU." - Sydney, White Men Can't Jump





































--
Mikey.
Mac Admin "Emeritus"-WSOM CSG - CWRU / 	Engineer-NewMedia Corp. Cleveland, OH
"I looked up the word 'Basketball Player' in the dictionary and you know what
it said?  NOT YOU." - Sydney, White Men Can't Jump
From: Al@egansys.uucp (Al Egan)
Newsgroups: comp.sys.mac.hypercard
Subject: Re: writing to 1 file across appleshare
Date: Fri, 9 Oct 92 21:20:03 EDT(-0400)
Organization: Egan Systems & Metalogic S.a r.l.
Reply-To: Al@egansys.uucp (Al Egan)
X-Mailer: uAccess - Macintosh Release: 1.6v0


In article <1992Oct8.160026.1@ducvax.auburn.edu> (comp.sys.mac.hypercard), bwaid@ducvax.auburn.edu writes:
> file is locked. Is there a way for hypertalk to first check and see if a file
> is busy and go into a loop and wait or maybe some kind of buffer could be set
> up on the server and it could sort it out but at this point it gets a little 

Rinaldi's x-archive has fileIsOpen, which might help.

What would be wrong with each Mac creating its own file on the server, say
in a particular folder, then a HyperCard script to combine all of them into
a single file:

on mouseUp
  put "Server drive:collection folder:" into fldr
  put fldr & "all files" into fOut
  if fileLength (fOut) > 0 then  -- an xfcn
    -- handle duplicate file case?
  end if
  open file fOut
  repeat with i = 1 to 22
    put fldr & i into fin
    open file fin
    get "x"
    repeat until it = empty
      read from file fin for 100000  -- limit 16000 for HC < 2.0
      write it to file fOut
    end repeat
    close file fin
  end repeat
  close file fOut
end mouseUp

What, you don't like files named "1" through "22"?  No problem:
put "name 1,name 2,name 3" into names
repeat...
  put fldr & item i of names into fin

If your file names contain ",", see the itemDelimiter, use ":" (a file name
can't contain a ":").

--  Alan Egan    Egan Systems    Metalogic S.a r.l.    Holder, Egan & Company, Inc.
    Al@egansys   (Al%egansys@wsu-cs.cs.wayne.edu)      Grosse Pointe Shores, MI
    non-preferred:            CompuServe 73540,556     AppleLink Egan.Systems
From: shawn@cars.com (Shawn Connelly)
Newsgroups: comp.sys.mac.hypercard
Subject: Playing sound files
Date: 9 Oct 92 12:33:46 GMT
Reply-To: shawn@cars.com
Organization: Connelly Automation Research and Services
X-Mailer: uAccess - Macintosh Release: 1.6v1

Is there any way to play a sound file from HyperCard without bringing
the snd resource into a HyperCard stack?


------------------------------------------------------------------------
Shawn Connelly                          | 
Connelly Automation Research & Services |  Go Colorado Rockies!
1910 Sharon Oaks Lane, Suite 102        |   The only undefeated team 
Charlotte, NC 28210                     |    in the Nat'l League West!
(704) 552-7304                          |      
Internet: shawn@cars.com or shawn@csn.org; UUCP: ...!csn!sable!shawn