autohotkey mute code example
Example: autohotkey mute sound
MuteSoundWithNotification:
SoundGet, LevelM, Master
If (LevelM > 0) {
SoundBeep ,800, 100
Send {Volume_Mute} ; Mute sound
;SoundSet, Mute
}
Else {
SoundSet, 10 ; restores to 10% volume
SoundBeep ,800, 100
}
return