Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OWHK - Overwatch Chat Command Hotkeys
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
SetKeyDelay, 50
#if WinActive("Overwatch")
^!a:: ; Ctrl+Alt+A - Switch to global chat
SendEvent, {Enter}/a{Enter}{Enter}
return
#if WinActive("Overwatch")
^!e:: ; Ctrl+Alt+E - Accept group invite
SendEvent, {Enter}/accept{Enter}{Enter}
return
#if WinActive("Overwatch")
^!c:: ; Ctrl+Alt+C - Switch to custom game chat
SendEvent, {Enter}/cg{Enter}{Enter}
return
#if WinActive("Overwatch")
^!d:: ; Ctrl+Alt+D - Decline group invite
SendEvent, {Enter}/decline{Enter}{Enter}
return
#if WinActive("Overwatch")
^!g:: ; Ctrl+Alt+G - Switch to group chat
SendEvent, {Enter}/g{Enter}{Enter}
return
#if WinActive("Overwatch")
^!m:: ; Ctrl+Alt+M - Switch to match chat
SendEvent, {Enter}/m{Enter}{Enter}
return
#if WinActive("Overwatch")
^!r:: ; Ctrl+Alt+R - Reply to latest message
SendEvent, {Enter}/r{Enter}{Enter}
return
#if WinActive("Overwatch")
^!s:: ; Ctrl+Alt+S - Spectate who...
SendEvent, {Enter}/spectate
return
#if WinActive("Overwatch")
^!t:: ; Ctrl+Alt+T - Switch to team chat
SendEvent, {Enter}/t{Enter}{Enter}
return
#if WinActive("Overwatch")
^!w:: ; Ctrl+Alt+W - Whisper to...
SendEvent, {Enter}/w
return
#if WinActive("Overwatch")
^!h:: ; Ctrl+Alt+H - Hide chat
SendEvent, {Enter}/hidechat{Enter}
return
@moriczgergo

This comment has been minimized.

Copy link
Owner Author

moriczgergo commented May 2, 2019

Shortcuts:

Ctrl+Alt+A - Switch to global chat
Ctrl+Alt+E - Accept group invite
Ctrl+Alt+C - Switch to custom game chat
Ctrl+Alt+D - Decline group invite
Ctrl+Alt+G - Switch to group chat
Ctrl+Alt+M - Switch to match chat 
Ctrl+Alt+R - Reply to latest message
Ctrl+Alt+S - Spectate who...
Ctrl+Alt+T - Switch to team chat
Ctrl+Alt+W - Whisper to...
Ctrl+Alt+H - Hide chat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.