Remapping Hotkeys using AutoHotkey (wasd instead of arrow keys)

Company of Heroes4 · 65 ratings5.1k views75 favorites1 min readby Samer SultanUpdated Oct 30, 2014View on Steam ↗

Intro

Company Of Heros does not have an in game option that allows for the remaping of keys. I found a good solution posted on the relic forums (http://forums.relicnews.com/showthread.php?111795-Remapping-Hotkeys-Alternative-Solution) that was helpful.

AutoHotkey

You will need to download AutoHotkey for this to work: http://www.autohotkey.com/ if you are unfamiliar with the program start here: http://www.autohotkey.com/docs/

Running the script

1) Create a new text document / or autohotkey script:



Name it coh.ahk (or something similar)


------------------------------------

2) Paste the following lines of code into your script doc:

a::left s::down d::right w::up q::Numpad0 c::a XButton1::alt ~capslock::Suspend ~capslock UP::Suspend `::Suspend ^!z:: WinSet, Style, -0xC40000, a WinMove, a, , 0, 0, % A_ScreenWidth, % A_ScreenHeight




Save your code an close out your editor.

------------------------------------

3) Double click the script to run it.


This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.