Apr-04-2019, 11:18 PM
(Apr-04-2019, 11:08 PM)Larz60+ Wrote: Is the image that you show your application?
And please refrain from vulgarity.
If it's not your app, the only way to automate changing the playback device (unless you have source code)
if to use some sort of browser automation like selenium or expect.
That is not my app. It is TeamSpeak, a voice communication program.
I don't want to automate changing the playback device. But I do want to change the playback device for my python script.
This is my script:
from gtts import gTTS from pygame import * t2s = gTTS(text="This text", lang='en').save("lastplayed.mp3") mixer.init() mixer.music.load("lastplayed.mp3") mixer.music.play() while mixer.music.get_busy(): time.Clock().tick(100)I want to make lastplayed.mp3 play in a DIFFERENT playback device. NOT my Windows DEFAULT one. A DIFFERENT one ("VB Audio Cable" which is a PLAYBACK DEVICE).