home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
hc
/
hypermac.sit
/
HyperMacintalk
/
card_11310.txt
< prev
next >
Wrap
Text File
|
1987-09-30
|
2KB
|
103 lines
-- card: 11310 from stack: in
-- bmap block id: 12203
-- flags: 0000
-- background id: 11094
-- name:
-- part 1 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=36 top=90 right=250 bottom=279
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name:
-- part 2 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=285 top=90 right=275 bottom=479
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name:
-- part 3 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=33 top=280 right=319 bottom=480
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name:
-- part 4 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=450 top=34 right=61 bottom=478
-- title width / last selected line: 0
-- icon id / first selected line: 1012 / 1012
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
pop card
end mouseUp
-- part contents for card part 1
----- text -----
SpeechOn(ExceptionsFile,theSpeech)
SpeechOff(theSpeech)
Macintalk(theSpeech,Phonemes)
Reader(theSpeech,EnglishPtr,InputLength,PhoneticOutput)
SpeechPitch(theSpeech,thePitch,theMode)
SpeechRate(theSpeech,theRate)
-- part contents for card part 2
----- text -----
TurnSpeechOn exceptionFile
TurnSpeechOff
SayPhonetic phoneticString
Phonemes(theEnglishString)
-- returns phonetic string
SetPitch thePitch, theMode
SetRate theRate
Say theEnglishString
-- part contents for card part 3
----- text -----
The HyperTalk command ΓÇÿSayΓÇÖ has no single equivalent among the Macintalk procedures, but it is directly equivalent to a call to Reader followed by a call to Macintalk.