Generating the escape sequences for terminal by ahk

Posted by obeliksz on Super User See other posts from Super User or by obeliksz
Published on 2012-10-24T07:11:42Z Indexed on 2012/10/24 11:04 UTC
Read the original article Hit count: 259

I am trying to make an ahk for putty to send the keycodes that I want for some key combinations in order for my program to work over terminal too.

For this I have an ahk already with some key combinations working properly by experimenting awfully much time from here and there, from key tables, etc but I still don't get, did not came up with a clear, logical method to calculate the escape key that I want.

An example: ^F1::SendInput ^[O5P It gives 28 in my test prog.

I see that for ^[1 I get 377 and for ^[2 376... and I see that there can be used letters out of the hexa numbers (A-F) and also ; and ~ or double [[

Do you understand how this works? Any good descriptive material for this? Thanks a lot!

© Super User or respective owner

Related posts about terminal

Related posts about autohotkey