具有一个运行注册表文件的AutoHotkey脚本,该脚本在音频捕获设备中启用和禁用“侦听此设备”布尔值。遗憾的是,这些更改仅在重启后才会生效。布尔值已更改,但音频捕获设备未使用新设置刷新。
以下脚本基于this
a::
key++
if key = 1
run, "E:\S.K.L\Documents\soundReg\settting1.reg" regedit /s
else if key = 2
{
run, "E:\S.K.L\Documents\soundReg\settting2.reg" regedit /s
key=0
}
Return
p.s。该代码仅在“ Intercept”的帮助下从seconday键盘运行。