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.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
WIN32OLE & SAPI
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password