repeat with i = 1 to number of lines in card field 1
do line i of card field 1
end repeat
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=253 top=193 right=205 bottom=339
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
push this card
visual effect iris open
go to card id 6265
end mouseUp
-- part contents for background part 7
----- text -----
How Macintalk Works (continued)
-- part contents for background part 8
----- text -----
The command SetRate allows you to set the rate of speech. The initial rate is
150 words/minute, but it can be set to any value between 85 and 425. Try it:
Finally, there is a utility function called LowerToUpperΓÇá, for use with the command SayPhonetic. SayPhonetic is quite picky about the format of the phonetic strings, and in particular, all letters must be in upper case. This can be quite a pain at times, so LowerToUpper was provided - it takes a string as an argument, and returns the same string with any lower case letters converted to upper case letters. This could have been implemented as a function written in HyperTalk, but this XFCN is much faster.