Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #2175
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <xrgtn@yandex.ru> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.009 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'circular': 0.03; 'ascii': 0.07; 'be:': 0.09; 'keys,': 0.09; 'received:77.88': 0.09; 'received:mail.yandex.net': 0.09; 'received:yandex.net': 0.09; 'subject:keys': 0.09; 'sun,': 0.09; 'wrote:': 0.14; 'simulate': 0.16; 'subject:function': 0.16; 'bytes': 0.19; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'code,': 0.20; 'code': 0.22; 'header:In-Reply-To:1': 0.22; 'cc:addr:python-list': 0.22; 'keys': 0.23; 'byte': 0.25; "i'm": 0.26; 'instead': 0.26; 'probably': 0.30; 'cc:addr:python.org': 0.31; 'subject:send': 0.31; 'functional': 0.31; 'another': 0.32; 'using': 0.34; 'actually': 0.34; 'header:User-Agent:1': 0.35; '-0700,': 0.35; 'releases': 0.35; 'trigger': 0.35; 'hello,': 0.36; 'think': 0.36; '20,': 0.38; 'but': 0.38; 'set': 0.39; 'might': 0.40; 'best': 0.60; 'order': 0.61; '2011': 0.62; 'lower': 0.63; 'received:77': 0.63; 'mar': 0.64; 'subject:program': 0.68; 'press': 0.71; 'alexander': 0.84; 'cares.': 0.84; 'received:88.154': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1301407206; bh=D7vPVKdfpf6VUgLrqCxXNBbSsmgPZUcZJOvNfCMCjqw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=R7h0w7oXhTOdhU3J20VcuHMnp49XKbsnr/2tokjpxPvlHaZ+SK+wjAcW0tRfMmxNW ilRXcx/TwFYdZqNhBR4mEpyUdQJsrJOyW3XbXI817cFHm4Uq7fIpvcXSbFB75tK3Ea qdVbVMCjjk+x0/12kNVbppouHpOzaCB+BoWzWN5Y= |
| Date | Tue, 29 Mar 2011 16:59:45 +0300 |
| From | Alexander Gattin <xrgtn@yandex.ru> |
| To | Justin Ezequiel <justin.mailinglists@gmail.com> |
| Subject | Re: send function keys to a legacy DOS program |
| Mail-Followup-To | Alexander Gattin <xrgtn@yandex.ru>, Justin Ezequiel <justin.mailinglists@gmail.com>, python-list@python.org |
| 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> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| In-Reply-To | <b0571037-7602-4bb8-8813-3a1b02d1981b@i35g2000prd.googlegroups.com> |
| User-Agent | Mutt/1.5.18 (2008-05-17) |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1366.1301407273.1189.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 82.94.164.166 |
| X-Trace | 1301407273 news.xs4all.nl 81481 [::ffff:82.94.164.166]:60830 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:2175 |
Show key headers only | View raw
Hello, On Sun, Mar 20, 2011 at 06:59:46PM -0700, Justin Ezequiel wrote: > On Mar 20, 7:30 am, Alexander Gattin > <xr...@yandex.ru> wrote: > > 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 I'm not sure regarding the ASCII part. I think it might need to be set to 0x00 for all functional keys instead of 0x3F/0x3C/0x41, but probably no application actually cares. 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 -- With best regards, xrgtn
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll 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