autohotkeymicrosoft-teams

How can I make the mic mute key work in MS Teams with Autohotkey?


Since for some reason the microphone mute key does not work in MS Teams, I wanted to solve this issue with the following assignment. I found out that the mute key is actually F14 using event.keyCode tester However, it does not work, and I don't know why.

F14::Send {Ctrl Shift M}

When I track the mic mute key with AutoHotkey, it says the following after pressing it (it generates 3 entries for this one special key):

enter image description here


Solution

  • #!F14::Send ^+m
    

    I used the AutoHotkey key history to find out, that not only F14 was pressed by this key, but also the (left) Windows and Alt key, so the statement above finally works, hurray! :)

    Thanks also to Wenfang Du, he pointed me in the right direction.