Each Stream Deck button uses the System → Open action to run
teams-hotkey.ahk, passing the desired Teams keyboard shortcut as the
argument. The script then forwards that shortcut to the active Teams meeting
window.
Set each button's App / File field to a command of this form:
"C:\Program Files\AutoHotkey\v2\AutoHotkey64.exe" "C:\{path}\StreamDeck\teams-hotkey.ahk" "^+m"
Replace {path} with the folder where you placed the script, and change the
final quoted argument ("^+m") to the shortcut you want that button to send.
AHK key notation:
^= Ctrl,+= Shift,!= Alt,#= Win. So^+mmeans Ctrl+Shift+M.
These are the default shortcuts in the new Microsoft Teams client. Verify them
against your own client (… → Settings → keyboard shortcuts, or press
Ctrl+.), as Microsoft has changed them over time.
| Action | Shortcut | AHK argument |
|---|---|---|
| Toggle mute | Ctrl+Shift+M | ^+m |
| Toggle camera | Ctrl+Shift+O | ^+o |
| Raise / lower hand | Ctrl+Shift+K | ^+k |
| Toggle background blur | Ctrl+Shift+P | ^+p |
| Share screen | Ctrl+Shift+E | ^+e |
| Toggle full screen | Ctrl+Shift+F | ^+f |
| Accept video call | Ctrl+Shift+A | ^+a |
| Accept audio call | Ctrl+Shift+S | ^+s |
| Decline call | Ctrl+Shift+D | ^+d |
| Leave / hang up | Ctrl+Shift+H | ^+h |
Meeting reaction emojis (👏 😃 ❤️ 😯) have no keyboard shortcut in Teams, so they cannot be triggered through this approach.