Accents as dead keys?
Accents as dead keys?
Hi. I'd like to know how to send the circumflex and grave accent symbols but as dead keys. Imagine I want the number 1 to act as ̂ but I want that when I press 1, nothing happens until I press another key, with the result: ô I'm trying to send asc and unicodes but something is not working.
Re: Accents as dead keys?
You could use Input, an example
Code: Select all
$1::
Input, OutputVar, I T0.3
If (OutputVar = "") ; if you just wait it will send 1
Send 1
else If (OutputVar = "o")
Send ô
else If (OutputVar = "a")
Send â
else Send % OutputVar
Return
Re: Accents as dead keys?
I got it. At least with my Spanish keyboard, it works this way:
I don't know if there is another way to make it work.
Code: Select all
1:: ; circumflex
send +{sc01A}
return
2:: ; grave accent
send {sc01A}
return