Sign in to follow this  
Followers 0
memnon

Auoit and use of AudioOutput...

3 posts in this topic

Hello, i have more than one soundcards in my system installed and i am wondering, if its possible to get sound output from autoit scripts to my 2nd audiocard, while my 1st audiocard is default on my windows system... in other words, are there some funktion to redirekt audio output from autoit to 2nd audiocard?

for example this script - i get the tts only on the soundcard i set as default in windows ... problem is, i dont want it on my defaultsoundcard what i use as syntisizer programm

; voice read text

; Author erifash ( and others )

_TalkOBJ("Speak this line of text")

Func _TalkOBJ($s_text)

Local $o_speech

$o_speech = ObjCreate("SAPI.SpVoice")

$o_speech.Speak ($s_text)

$o_speech = ""

EndFunc ;==>_TalkOBJ


das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Share this post


Link to post
Share on other sites



hmm is there no hope for help, it would be really neccessary for me how to use the AudioOutput Property - i tried to understand the SPVoice AudioOutput property as described here : http://msdn.microsoft.com/en-us/library/ms723596%28v=vs.85%29.aspx

but i dont understand to use this function in autoit code

any help would be great


das beste Windows Support Forum: Windows 2000 Helpline und tschüss den WindowsfehlernProgrammieren: Autoit 3 - wer braucht noch VBS ?!Programmieren: Autoit 3 Forum?

Share this post


Link to post
Share on other sites

You didn't say what OS you are running, but on XP, you

can go to "Control Panel -> Speech" to configure it.


"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0