If you can call regular shell commands they you can use the "say" command:

say some string of text

will speak "some string of text" using the default voiceover voice.

CB

On 10/3/11 7:31 AM, Alex Hall wrote:
Hi all,
I use Python for programming, and I would like to make a program I
wrote work on the mac. The only reason it does not currently work is a
package used on Windows to speak text through the available screen
reader. Basically, I want to check if the program is running on a mac
and, if it is, speak using vo. However, I can't find how to do this.
In a python or apple script, what do I do to get vo to speak a string
of text? Python can access apple script and other system libraries, so
there must be a way, but how? Is this burried in an objectiveC library
somewhere? Any help would be great. Thanks.


--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macvisionaries?hl=en.

Reply via email to