App that provides a keyboard shortcut to mute/unmute the microphone? [duplicate]
Solution 1:
You do not need an app for this. You can open Automator, and create a service. You can then double-click Run Applescript
, and type in
on getMicrophoneVolume()
input volume of (get volume settings)
end getMicrophoneVolume
on disableMicrophone()
set volume input volume 0
end disableMicrophone
on enableMicrophone()
set volume input volume 100
end enableMicrophone
if getMicrophoneVolume() is greater than 0 then
disableMicrophone()
else
enableMicrophone()
end if
Then save and go to System Preferences -> Keyboard -> Shortcuts - Services, search for the name of the Automator file, and add any shortcut you want.
More information can be found here.