DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Speech Output in Diadem?

Hello,

 

I have tried this code:

Dim oMySpeech
Set oMySpeech = CreateObject("SAPI.SpVoice")
Call oMySpeech.Speak("Hello World!")

Script runs fine, but there is no voice at all. (yes, I DID check that loudspeaker is turned on Smiley Very Happy)

I need to write a script that talks to the engineer rather than displaying messages on the screen.

What would be the best way to do this?

H.

0 Kudos
Message 1 of 3
(4,886 Views)

Hi HoBaLa,

 

The script works fine on my PC. It works fine either if I run it in DIAdem or save it as a VBS file and run it in Windows. Please check whether it works just in the Windows environment.

 

Greetings

Walter

 

 

0 Kudos
Message 2 of 3
(4,883 Views)

Thanks for the quick response.

So this seems to be a Windows restriction in my company environment. I'll check this.

Thanks for your help!

0 Kudos
Message 3 of 3
(4,879 Views)