Created
May 23, 2020 21:56
-
-
Save esamattis/dd69c4feaca6a20a51cb5d16f45c7e72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if input volume of (get volume settings) = 0 then | |
display notification "MIC ON!" | |
set level to 100 | |
else | |
set level to 0 | |
display notification "MUTED MIC!" | |
end if | |
set volume input volume level |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment