我正在使用 win10toast 为 Windows 制作通知弹出窗口。有什么办法可以让通知静音吗?换句话说,我可以禁用我正在创建的通知的声音吗?我可以更改声音吗?
编辑:添加示例代码
我的示例代码:
from win10toast import ToastNotifier
toaster = ToastNotifier()
for i in range(0,70000000):
pass
toaster.show_toast("Hey User",
"The program is running pretty well. You should try to disable audio on me next though!",
icon_path=None,
duration=5)
Run Code Online (Sandbox Code Playgroud)