I need to map Alt+e to é or to ´ (spanish accent). I read AutoHotKey may work but don't understand how.
Have you read the Tutorial? https://autohotkey.com/docs/Tutorial.htm#s2
Alt is !, so Alt+e is
!e so all you have to do is take the example and make it to what you want:
Edit: so you wanted a "two key hotkey" - you could use the Input command like so:
$!e:: Input, OutputVar, T1 L1 ; this waits for a single key press and you can use if ... else for each key * if (OutputVar = "e") Send é else if (OutputVar = "i") Send í Return $!n:: Input, OutputVar, T1 L1 if (OutputVar = "n") Send ñ Return
(*) Note that there are fancier techniques but by using an associative array for example but the above is pretty straight forward and easy to understand.