Can't bind extra mouse buttons to certain hotkeys

As per title. When customising my hotkeys, I can add MB3 (or any mouse button) as an alternative key to F2 i.e. Select Army. However, when trying to bind any mouse button to Attack, it won’t work. I can hammer my mouse buttons all I want, unless I select a keyboatd key, it won’t work.

Don’t a mouse with extra buttons usually come with some kind of software that allow to link those buttons to keyboard buttons?
This is probably the normal solution to this.

That’s not a solution, because that would mean that I would need a specific mouse configuration just for SC2, and other configurations for other tasks.

Also, SC2 can accept extra mouse buttons, it just doesn’t want to do it for specific hotkeys. I won’t install extra software just to use a basic five-button mouse.

I love to dig old thread… When they come in 3rd position in Google.
I was trying the same thing I guess.
I move the camera with the arrows (clearly 100 times easier than with the mouse while giving order with… the mouse…) and I noticed you cannot assign Attack to the mouse… When it would be 10 times easier than pressing a key on the keyboard while moving the camera…

So yeah… I will need to use AHK to remap the XButton1/2 to A or any other in-game key…
That’s lame…

For those interested :

#IfWinActive StarCraft II
$Space:: ; This is used to spam Space to skip dialogues. Don’t know if still needed in current version
While GetKeyState(“Space”, “P”)
{
Send {Space}
Sleep 100
}
Return
XButton2::
Send a
Click
Return
#IfWinActive