[NTLK] SpeakText dashboard script

From: George Bingham (georgeb1962_at_gmail.com)
Date: Thu May 06 2004 - 10:07:52 PDT


Hello all,

    Got a question on scripting in Dashboard. I got a small script
that uses SpeakText and MacInTalk to read the text that's currently
highlighted. The script works fine, but I cannot figure out how to get
it to set the voice properly. The original script that does set the
voice properly does so with the following:

local vox := "[[svox kath]]";

    Seems simple enough, but I would like to have a few different
scripts that will read the text using the different voices (my
favorite is Zarvox). However changing the above line to read

local vox := "[[svox zarv]]";

doesn't work, it ends up choosing Fred's voice instead. I've tried
'Zarv' and 'Zarvox' as well, (also tried Ralph, Ralp, ralp -- same
thing).

     Does anyone know what the internal title of the various voices
are? Also, are there other modifications to the voice you can do from
within a script like this? I am thinking somewhere I'd seen various
ways of manipulating speaktext programmatically, but can't recall
where or what....

Thanks,

George

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Thu May 06 2004 - 13:39:32 PDT