Thanks, I think Python can do that. Will that use all the user's default settings? Is there an interrupt parameter or other switches?
On 10/4/11, Chris Blouch <[email protected]> wrote: > 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. > > -- Have a great day, Alex (msg sent from GMail website) [email protected]; http://www.facebook.com/mehgcap -- 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.
