Generating the escape sequences for terminal by ahk
- by obeliksz
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!