From: Masaki Suketa Date: 2006-06-13T22:22:40+09:00 Subject: Re: Problem with win32ole, sapi5 Hello, Sorry for being too late to reply. In message "Re: Problem with win32ole, sapi5" on 06/06/13, Helge Elvik writes: > Does anyone have any input on this old post? I'm having the same > problem, but I can't find any response to the post anywhere. Basically > it seems that win32ole doesn't discover that SpVoiceInstance.Voice is > both a gettable and settable property: > > irb(main):053:0> Win32::SpVoice.new.ole_get_methods > => [Status, Voice, AudioOutput, AudioOutputStream, Rate, Volume, > AllowAudioOutpu > tFormatChangesOnNextSet, EventInterests, Priority, AlertBoundary, > SynchronousSpe > akTimeout] > irb(main):054:0> Win32::SpVoice.new.ole_put_methods > => [Rate, Volume, AllowAudioOutputFormatChangesOnNextSet, > EventInterests, Priori > ty, AlertBoundary, SynchronousSpeakTimeout] > irb(main):055:0> > > Is this a bug? The following is valid VB source code: > > Set V.Voice = V.GetVoices().Item(List1.ListIndex) Sorry, this is a bug of Win32OLE. But please give me some time to fix it. Regards, Masaki Suketa