[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

WIN32OLE & SAPI

Eder Quiñones

8/21/2007 12:04:00 AM


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!"
[/code]

Any help would be highly appreciated
--
Posted via http://www.ruby-....

1 Answer

Kyle Schmitt

8/21/2007 2:03:00 PM

0

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.