Is Autohotkey cheating?

Hello guys. Recently I got chat ban again because my behavior was awful and I deserved it. I understood that reforming is a difficult thing so I had to find a way to stop flamimg and blaming in chat. They only way I thought that this was possible was to disable the chat. But Riot lets you only disable the all chat. So I searched a little and I found a guy that created a script with this Autohotkey program which disables the enter button when you are in game and as a result you cannot text. To be honest this is a good solution to my problem and I would like to know if using this script is bannable.
Report as:
Offensive Spam Harassment Incorrect Board