Skip to content

Instantly share code, notes, and snippets.

View AliKarpuzoglu's full-sized avatar

Ali Karpuzoglu AliKarpuzoglu

View GitHub Profile
if input volume of (get volume settings) = 0 then
set level to 100
display notification "mic on" with title "Microphone Toggle"
else
set level to 0
display notification "mic off" with title "Microphone Toggle"
end if
set volume input volume level