I'm not sure if the person who made this, is still playing Awesomenauts.However I've had the keybinder for a long time now, but only recently windows defender marked the keybinder.exe as a Trojan.I doubt this truly is the case since I've been using the program for 3 years now and think this might just have to do with windows 10.

Does anyone happen to know why it does this, or how this can be prevented?

AutoHotkey. It supports blocking input and such as well so no need to worry about key presses interacting with the macro'd message which apparently was a problem with this program. I could upload an example later that can be easily personalized to taste (i use it for chat commands in path of exile). Tho you would still need to install the main AHK program.

--

Edit: i havent even looked at the original program of this thread, you might just keep using that if it does what you want. it's more or less a keylogger in nature since it captures your input so no surprise for it to get flagged, really.

However, if you do want it, Autohotkey can be downloaded hereA sample script can be found here (save the text as a file with .ahk extension)

You have to run it as an administrator

This will type "gl hf" into all chat when F9 is pressed, and "gg" when F10 is pressed. You don't have to worry about interrupting it, but it will cancel current held down keys (so say if you're running left you will have to release and re-press the 'A' key). Also it will only do this while the game window is focused (this part requires borderless mode).