I found same questions, but not answers. Can anybody point me in the right direction?
I created my own mute mic button on the touchbar. When muted I want to show another icon or another color than when not muted. I understand I have to change the apple script. How? This is the script that I use
input volume of (get volume settings)
set volume input volume 0
set volume input volume 100
if getMicrophoneVolume() is greater than 0 then