send function keys to a legacy DOS program

Justin Ezequiel justin.mailinglists at gmail.com
Sun Mar 20 21:59:46 EDT 2011


On Mar 20, 7:30 am, Alexander Gattin <xr... at yandex.ru> wrote:
> On Sun, Mar 20, 2011 at 12:52:28AM +0200,
>
> You need to place 2 bytes into the circular buffer
> to simulate key press. Lower byte is ASCII code,
> higher byte is scan code (they are the same for
> functional keys, whe using default keycode set#1):
>
> F5: 0x3F 0x3F
> F2: 0x3C 0x3C
> F7: 0x41 0x41
>
> --
> With best regards,
> xrgtn

looks promising. will give this a try. thanks!



More information about the Python-list mailing list