Chaps,
After several hours of googling and testing i have got a very simple text to voice javascript command to work.
Code:
<script language="javascript" type="text/javascript">
var VoiceObj = new ActiveXObject("SAPI.SpVoice");
VoiceObj.Speak("Voice Test");
</script>
The issue i have is when i run it with no IE security changes i get "Automation server can not create object".
By further investigation i have found by enabling "Initialize and script ActiveX controls not marked as safe for scripting" in custom security settings / IE the script works fine.
I have found a non p2p forum posting which indicated that the scripting environment should be either HTA or WSH to combat the issue but have not found any working examples.
Has anyone got a better understanding of the two environments where SAPI.SpVoice has been integrated correctly.
Thanks
Aspless