AutoHotkey is described as 'An open-source Windows scripting language enabling task automation through hotkeys, macros, and keystrokes, useful for creating custom forms and automating data entry' and is a leading Task Automation app in the office & productivity category. There are more than 100 alternatives to AutoHotkey for a variety of platforms, including Windows, Mac, Linux, Google Chrome and Android apps. The best AutoHotkey alternative is Microsoft PowerToys, which is both free and Open Source. Other great apps like AutoHotkey are AutoIt, espanso, AutoKey and Tasker.
PowerToys is not able to remap keys to other characters, macro, or actions. But just to remap keys to other keys. Even system keys though.