Pet*_*ter 5 audio login lock-screen windows-10
当我从包里拿出笔记本电脑并打开它时,我希望在我成功登录之前它不会突然开始播放歌曲或电影的声音。声音(VLC/YouTube/等)暂停,更重要的部分是我不想听到声音。
如果没有可用的通用解决方案,我会很乐意使用适用于 Youtube + Chrome 的解决方案。
我在 Windows 7 上尝试了Mute On Lock和其他一款软件,但它们在 Windows 10 中均不起作用。
考虑使用免费的AutoIT应用程序和简单的Send()函数,使用发送键列表 {VOLUME_MUTE}或{Volume_down}发送键盘快捷键来调节音量。
您可以使用任务计划程序和设置触发器来根据需要执行At logon,例如On workstation unlock,On an event在特定事件 ID 上执行,等等。
AutoIT 示例 A 逻辑
执行时,这似乎从取消静音切换到静音,反之亦然
Run Code Online (Sandbox Code Playgroud)send ("{Volume_Mute}") exitAutoIT 示例 B 逻辑
这会将音量调低 100 次
Run Code Online (Sandbox Code Playgroud)#include <MsgBoxConstants.au3> Local $i = 0 Do send ("{Volume_down}") $i = $i + 1 ; Or $i += 1 can be used as well. Until $i = 100 ; Increase the value of $i until it equals the value of 10. Exit
| 归档时间: |
|
| 查看次数: |
8260 次 |
| 最近记录: |