WIN32OLE & SAPI

E

Eder Quiñones

Hi, Does anyone knows how to set the language to Spanish in SAPI, This
is what I Have:

Code:
require 'win32ole'

@obj_voice = WIN32OLE.new("SAPI.SpVoice")
@obj_get_voices = @obj_voice.GetVoices

@obj_get_voices.each { |voice| puts voice.GetDescription }

@obj_voice.speak "Hola Mundo!"

Any help would be highly appreciated
 
K

Kyle Schmitt

Head on over to the MSDN pages for SAPI, whatever object method you
use there to set it to Spanish will probably be the same one you need
to specify here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,792
Messages
2,569,639
Members
45,348
Latest member
RoscoeNevi

Latest Threads

Top