Re: Speech impediment
Re: Speech impediment
- Subject: Re: Speech impediment
- From: Jim Baskins <email@hidden>
- Date: Wed, 08 Aug 2001 13:54:41 -0500
On 8/2/01 3:48 PM, Dennis Wurster email@hidden wrote:
>
Hi Folks,
>
>
Just for fun (My 3 y.o. thinks it's funny) I've been playing with the
>
'say' command. I can't seem to get the 'using' parameter to work, I
>
get a "The variable Zarvox is not defined" error. The 'say' command
>
works fine if I omit the parameter.
>
>
Any help?
I hope so.
>
-=Dennis=-
>
>
---------
>
>
tell application "Finder"
>
activate
>
display dialog "What would you like me to say?" default answer ""
>
say text returned using Zarvox
>
end tell
Try putting quotes around "Zarvox"
Lose the finder commands, say is a standard addition and does not need the
Finder tell block, i.e.:
------------
display dialog "What would you like me to say?" default answer ""
say text returned using "Zarvox"
------------
At least that works here just fine.
Here's a little silly thing that was posted by some unknown silly person
about 2 years ago during a play-with-voices interlude; my niece used to wear
it out:
set vFolder to path to voices
tell application "Finder"
repeat with v in (name of every item of vFolder) as list
say "I am " & v using v
end repeat
end tell
Jim