[comp.sys.mac] Hypercard lossage

rwb@vi.ri.cmu.edu (Bob Berger) (09/01/87)

Hypercard would be the ideal program for accessing various touch-tone
based information services. Unfortunately, the dial command ignores
"*" and "#", which many of these services use. Apparantly the programmer
never saw a need to dial non-digits. Sigh.


Robert Berger
Berger@c.cs.cmu.edu

mcdougal@gargoyle.UChicago.EDU (Thomas F. McDougal) (09/03/87)

Summary:


If hypercard won't let you dial '*' characters this is a real 
drawback.  I have call waiting which must be disabled with
'*70' at the beginning of a phone # whenever I use my modem.

On an unrelated topic could someone send me mail telling me how
to post an article that is not a follow-up?  No one around here
seems to know how this is done.  Thanks in advance.

-- Tom McDougal         mcdougal@gargoyle.uchicago.edu
                     ...ihnp4!gargoyle!mcdougal

fry@huma1.HARVARD.EDU (David Fry) (09/03/87)

In article <1017@vi.ri.cmu.edu> rwb@vi.ri.cmu.edu (Bob Berger) writes:
>Hypercard would be the ideal program for accessing various touch-tone
>based information services. Unfortunately, the dial command ignores
>"*" and "#", which many of these services use. Apparantly the programmer
>never saw a need to dial non-digits. Sigh.
>
>
>Robert Berger
>Berger@c.cs.cmu.edu


HyperCard knows how to dial non-numeric characters.  Open the
message box and type 'dial "#" with modem "ATDT"' and hear it 
make the noise.  I
assume your problem is the Phone Stack whose script
purposefully removes all non-numeric characters before doing
the dialing.

Open the Phone stack and choose "Stack Info" (assuming you've
set yourself to "Scripting Level").  If you click on the
"Script..." button you can scroll through the routine that
does the dialing.  You'll find two instances of the string
'"0123456789"'.  Replace each of these with '"0123456789#*"'
and you're in luck.

David Fry				fry@huma1.harvard.EDU
Department of Mathematics		fry@harvma1.bitnet
Harvard University			...!harvard!huma1!fry
Cambridge, MA  02138		

anson@elrond.CalComp.COM (Ed Anson) (09/04/87)

In article <1017@vi.ri.cmu.edu> rwb@vi.ri.cmu.edu (Bob Berger) writes:
>Hypercard would be the ideal program for accessing various touch-tone
>based information services. Unfortunately, the dial command ignores
>"*" and "#", which many of these services use.

I agree that it would be nice to have those codes work.  But I have a
question: When I dial a number, the Mac's speaker makes the right beeping
noises, which is fun for awhile.  Now, can someone tell me how to connect
it to my telephone so it will really dial a number for me?  I seem to recall
that there is a gizmo to do the trick, but I can't remember its name or
where to get it.
-- 
=====================================================================
   Ed Anson,    Calcomp Display Products Division,    Hudson NH 03051
   (603) 885-8712,      anson@elrond.CalComp.COM

jww@sdcsvax.UCSD.EDU (Joel West) (09/04/87)

I believe if you look at the script, it strips out non-numeric
characters.  Even without HyperTalk documentation it's pretty
obvious what it's up to (once you find the right script) and should
be trivial to change.
-- 
	Joel West  (c/o UCSD)
	Palomar Software, Inc., P.O. Box 2635, Vista, CA  92083
	{ucbvax,ihnp4}!sdcsvax!jww 	jww@sdcsvax.ucsd.edu
   or	ihnp4!crash!palomar!joel	joel@palomar.cts.com

david@hpsmtc1.HP.COM (David Williams) (09/04/87)

As I understand it, the phone dialer stacks distributed with Hypercard
merely send the dial sounds to the speaker port. Wait till the XCMD stuff
is released and you will be able to send all of the dialing sounds you want or
I am sure someone will write something to do it!

dhare%integral@Sun.COM (Dwight Hare) (09/05/87)

>I agree that it would be nice to have those codes work.  But I have a
>question: When I dial a number, the Mac's speaker makes the right beeping
>noises, which is fun for awhile.  Now, can someone tell me how to connect
>it to my telephone so it will really dial a number for me?  I seem to recall
>that there is a gizmo to do the trick, but I can't remember its name or
>where to get it.

I was able to put the phone up to the mac speaker and have the tones
actually dial the number for me.  It worked fine, although I agree that
it would be nicer to have the mac take the phone off-hook and do the
dialing.

espen@well.UUCP (Peter Espen) (09/05/87)

In article <1017@vi.ri.cmu.edu>, rwb@vi.ri.cmu.edu (Bob Berger) writes:
> Hypercard would be the ideal program for accessing various touch-tone
> based information services. Unfortunately, the dial command ignores
> "*" and "#", which many of these services use. Apparantly the programmer
> never saw a need to dial non-digits. Sigh.
> 
> 
> Robert Berger
> Berger@c.cs.cmu.edu

	 I also wish HyperCard would let you have a READ and WRITE function
for communicating with the Macs serial ports!

eirik@tekcrl.TEK.COM (Eirik Fuller) (09/05/87)

Sorry if this has been discussed already ... has anyone gotten
hypercard to dial a modem at 2400 baud?  Does the latest version of
UW do any dialing?

Please reply via email if possible; I will post a summary if
appropriate.

(crl.tek.com can be reached from arpa via relay.cs.net)

sac@well.UUCP (09/06/87)

Harry Chesley, who works for Apple, and who authored Packet, VCO+
is working on HyperBBS, and he has used hooks in HyperCard to
add Pascal code to talk to the serial ports.  He also used it for
a stackware demo to search Dialog Info. Services.  I'll post
more info when I find out about it.

rwb@vi.ri.cmu.edu.UUCP (09/07/87)

The problem WAS NOT the stack. I had already tried that. In my
copy of Hypercard (1.01), sending dial "#" directly to Hypercard
produces no sound at all. I had already tried the obvious tricks
of sending directly to Hypercard or modifying the phone stack. They
do not work.

Could someone at Apple please enlighten us? Why did it apparently work
for other people?

Robert Berger
Berger@c.cs.cmu.edu

darryl@ism780c.UUCP (Darryl Richman) (09/08/87)

In article <1018@vi.ri.cmu.edu> rwb@vi.ri.cmu.edu (Bob Berger) writes:
<The problem WAS NOT the stack. I had already tried that. In my
<copy of Hypercard (1.01), sending dial "#" directly to Hypercard
<produces no sound at all. I had already tried the obvious tricks
<of sending directly to Hypercard or modifying the phone stack. They
<do not work.

I played with this over the weekend and discovered that dialing '#' or
'*' does not produce a tone from the Mac speaker.  However, they DO
produce tones through my modem, when the dialer stack is set to modem.

-- 
Copyright (C) 1987 Darryl Richman	INTERACTIVE Systems Corporation
    The views expressed above are	...!cca!ima!ism780c!darryl
	     those of the author.	...!sdcrdcf!