|
zeroten
初级用户
 
积分 37
发帖 19
注册 2008-1-4
状态 离线
|
『楼 主』:
求用批处理或其它简单方法取消系统音量静音
使用 LLM 解释/回答一下
求用批处理或其它简单方法取消音量静音、qq影音静音,让它们不静音,还有调音量? sndvol32.exe有没有是什么参数?
Please clarify your request. Are you asking for a translation of the Chinese text you provided? If so, here is the translation:
Seek to use batch processing or other simple methods to cancel the volume mute, QQ Player mute, make them not mute, and also adjust the volume? What are the parameters of sndvol32.exe?
|
|
2009-11-29 13:05 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
nircmd.exe mutesysvolume 1
nircmd.exe mutesysvolume 0
nircmd.exe mutesysvolume 1
nircmd.exe mutesysvolume 0
|

 |
|
2009-11-29 13:28 |
|
|
newxso
初级用户
  l i u s s
积分 73
发帖 101
注册 2008-9-17 来自 GZ
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Sendkeys "…" '第1次静音,再次则取消
Last edited by newxso on 2009-12-4 at 20:02 ]
```
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Sendkeys "…" 'First mute, cancel it again
```
Last edited by newxso on 2009-12-4 at 20:02 ]
|
|
2009-11-29 19:09 |
|
|
zeroten
初级用户
 
积分 37
发帖 19
注册 2008-1-4
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
多谢楼上二位帮助,顺便问一下,不用第三方工具和vbs,仅用bat能实现吗
Thanks to the two upstairs for helping. By the way, I want to ask, can it be achieved only with bat without using third-party tools and vbs?
|
|
2009-12-4 19:31 |
|
|
zeroten
初级用户
 
积分 37
发帖 19
注册 2008-1-4
状态 离线
|
|
2009-12-4 19:34 |
|
|
zeroten
初级用户
 
积分 37
发帖 19
注册 2008-1-4
状态 离线
|
|
2009-12-4 20:37 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_27DE&SUBSYS_0C82105B&REV_01#3&2411E6FE&0&F2#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 0\Controls\ 1]
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses\{6994AD04-93EF-11D0-A3CC-00A0C9223196}\##?#PCI#VEN_8086&DEV_27DE&SUBSYS_0C82105B&REV_01#3&2411E6FE&0&F2#{6994ad04-93ef-11d0-a3cc-00a0c9223196}\#Wave\Device Parameters\Mixer\ 0\Controls\ 1]
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
禁音不禁音这里会变化,有些键(比如DEVICE下面的)和音频设备有关,可能不一样。
重点放到
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4D36E96C-E325-11CE-BFC1-08002BE10318}\0005\Settings]
上面吧。
MasterVolume是2个字节的
如果一样说明是没有静音,如果后者-前者=80(十六进制)说明是静音,特殊的,如果
是1f,9f(差值也是H80)说明主音量调至最低,静音不静音都是1f,9f不知道是否静音。
如果主音量为最低取消了静音应该也没有什么吧。
如果非要完全做到,你需要看那些与音频设备有关的项了。这个。。。要得到硬件ID什么的,处理还麻烦,还不如用3方小巧的工具
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
"MasterVolume"=hex:00,00
"MasterVolume"=hex:00,80
"HeadphoneVolume"=hex:04,04
"HeadphoneVolume"=hex:04,84
"Channel 0"=dword:00000000
"Channel 0"=dword:00000001
"Channel 1"=dword:00000000
"Channel 1"=dword:00000001
Muting or not muting will change here. Some keys (such as those under DEVICE) are related to audio devices and may be different.
Focus on
above.
MasterVolume is 2 bytes
If they are the same, it means no mute. If the latter minus the former = 80 (hexadecimal), it means muted. Specifically, if it is 1f, 9f (the difference is also H80), it means the master volume is adjusted to the lowest. It is unknown whether it is muted or not when it is 1f, 9f.
If the master volume is at the lowest and mute is canceled, there should be nothing wrong.
If you must do it completely, you need to look at those items related to audio devices. This... To get the hardware ID, etc., the processing is cumbersome. It is better to use a small third-party tool
|

S smile 微笑,L love 爱,O optimism 乐观,R relax 放松,E enthusiasm 热情...Slore |
|
2009-12-5 18:33 |
|
|
xuantian
高级用户
   
积分 587
发帖 282
注册 2006-4-10
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
用遥控器或键盘快捷方式好了
Just use the remote control or keyboard shortcuts.
|

个人网盘 |
|
2009-12-7 16:55 |
|