Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #2182

Re: send function keys to a legacy DOS program

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Mel <mwilson@the-wire.com>
Newsgroups comp.lang.python
Subject Re: send function keys to a legacy DOS program
Date Tue, 29 Mar 2011 15:09:38 +0000 (UTC)
Organization A noiseless patient Spider
Lines 16
Message-ID <imssni$fe7$1@dont-email.me> (permalink)
References <36dcb36a-1de0-4715-8803-dc7e43c8e94b@dn9g2000vbb.googlegroups.com> <20110319225228.GB30333@xrgtn-q40> <mailman.1097.1300577535.1189.python-list@python.org> <b0571037-7602-4bb8-8813-3a1b02d1981b@i35g2000prd.googlegroups.com> <mailman.1366.1301407273.1189.python-list@python.org>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Injection-Date Tue, 29 Mar 2011 15:09:38 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="gkGUTdqErW/bgAdl/LmZMQ"; logging-data="15815"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SKJPS+HNCNxRXwCwCJOCu"
User-Agent XPN/1.2.6 (Street Spirit ; Linux)
Cancel-Lock sha1:/6iYqsUsO7B5vN3W6ICnQOu8i70=
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:2182

Show key headers only | View raw


Alexander Gattin wrote:
> Another thing is that you may need to send key
> release after key press in order for the
> application to trigger the F5/F2/F7 event. I'm not
> sure what the scan codes for F5/F2/F7 releases
> are, but think that they may be:
>
> F5: 0xBF
> F2: 0xBC
> F7: 0xC1

True.  The key-release codes are the key-press codes (the "key numbers")
but with the high-order bit set.

	Mel.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: send function keys to a legacy DOS program Alexander Gattin <xrgtn@yandex.ru> - 2011-03-29 16:59 +0300
  Re: send function keys to a legacy DOS program Mel <mwilson@the-wire.com> - 2011-03-29 15:09 +0000

csiph-web