0
I need to map Alt+e to é or to ´ (spanish accent). I read AutoHotKey may work but don't understand how.
0
I need to map Alt+e to é or to ´ (spanish accent). I read AutoHotKey may work but don't understand how.
1
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:
!e::Send é
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.
Thank you, that worked. I'm reading it now. And is it possible to map alt+e to the accent? So I would type "alt+e + i" and I would get í (accented i). – pabvid – 2015-11-22T16:12:04.260
Here I pasted code that will help to clarify my question: http://p.ahkscript.org/?p=6383e215
– pabvid – 2015-11-22T17:25:11.867