| 1 |
#Requires AutoHotkey v2.0+ |
| 2 |
; AutoHotkey v2 script to toggle meeting microphone audio |
| 3 |
; https://www.autohotkey.com/docs/v1/Hotkeys.htm |
| 4 |
|
| 5 |
; https://support.zoom.com/hc/en/article?id=zm_kb&sysparm_article=KB0067050 |
| 6 |
; Zoom.exe ConfMultiTabContentWndClass |
| 7 |
if WinExist("ahk_class ConfMultiTabContentWndClass") |
| 8 |
{ |
| 9 |
WinActivate("ahk_class ConfMultiTabContentWndClass") |
| 10 |
Send("!a") ; send zoom microphone (audio) mute toggle, Alt+A |
| 11 |
Return |
| 12 |
} |
| 13 |
; https://support.google.com/a/users/answer/9896256?hl=en |
| 14 |
; Chrome.exe Chrome_WidgetWin_1 |
| 15 |
else WinExist("ahk_class Chrome_WidgetWin_1") |
| 16 |
{ |
| 17 |
WinActivate("Meet") |
| 18 |
Send("^d") ; send google meet microphone mute toggle, Ctrl+D |
| 19 |
Return |
| 20 |
} |