I'm bilingual user and while writing I use mostly UK keyboard I have this layout set into my computer. However occasionally I want to write something in my native tongue and the math symbols are additional bonus.

On X11 I use combination of xmodmap and XCompose. I'd like to add following bindings to UK mapping:

  • AltGr+letter - letter as if I had polish keyboard set up (say AltGr+a should send ą to program). I tried to do it in various ways but it result in errors. Please note that they are very near beginning of space (ą have unicode code 261).
  • Menu+(sequence) - various predefined symbols which would mirror the XCompose. They are added bonus. For example Menu+(i-n)(- represents release and then press) gives ∈ (this is just an example from my XCompose configuration). I consider it added bonus however.

How should I translate it into AutoHotKey script?

link|improve this question

80% accept rate
feedback

1 Answer

I´m no AHK expert but I use the script below to add Spanish characters to the AltGR offerings on my EeePC

^!n:: send ñ
^!+n:: send Ñ
^!c:: send ç
^!+n:: send Ç
^!+?:: send ¿
^!+!:: send ¡

Hope you can modify that to suit your requirement. Save it as a text file with .ahk and add it to startup so it´s always available

link|improve this answer
For line ^!a:: send ą it displays "Ä…" – Maciej Piechotka Jan 11 at 22:51
Sorry that did not work for you. Maybe the autohotkey user forum will be able to help. – BrianA Jan 17 at 19:18
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.