使用Python控制Windows Volume Mixer [英] Controlling Windows Volume Mixer with Python

查看:79
本文介绍了使用Python控制Windows Volume Mixer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用python 3在后台控制音量混合器中应用程序的音量?

I was wondering how to control the volume of an application in Volume mixer in the background with python 3?

推荐答案

您可以使用 WinGuiAuto Windows扩展的python Windows扩展.

You can do so with WinGuiAuto and the python for windows extensions.

基本上,您可以打开音量控制"应用程序并以编程方式驱动控制按钮.该应用程序通常会显示在桌面上,因此这可能对您来说是个问题.

You essentially open the Volume Control application and drive the control buttons etc programmatically. The application will normally show up on the Desktop, so that might be a problem for you.

这篇关于使用Python控制Windows Volume Mixer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆