📅  最后修改于: 2022-03-11 14:58:55.045000             🧑  作者: Mango
;mute sounds while pressed
; method 1 simple
~Space::
Send, {Volume_Mute}
KeyWait, Space, L
Send, {Volume_Mute}
Return
; method 2 more accurate
~Space::
SoundGet, master_volume
SoundSet, 0
KeyWait, Space, L
SoundSet, master_volume
Return