Wow, that hasn't come up in my searching, thanks! <br>Looks like you are right and the project is dead, but the author did toss there code up for viewing so I can stumble around a bit there. <br><br><div><span class="gmail_quote">
On 11/3/06, <b class="gmail_sendername">Jonathon Sisson</b> <<a href="mailto:sisson.j@gmail.com">sisson.j@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Chris,<br><br>I don't know if this has been mentioned yet, but this site might be useful:<br><br><a href="http://bdash.net.nz/blog/2003/12/24/python-vnc-client/">http://bdash.net.nz/blog/2003/12/24/python-vnc-client/</a><br>
<br>The code base has (last I heard) fallen stagnant, but it may very well<br>be worth a look as a starting point for your VNC project idea.<br><br>Jonathon<br><br><br>Chris Hengge wrote:<br>> Wow.. I have visions of writing a little wanna-be VNC client/server now
<br>> using the ImageGrab.grab() =D<br>> This ImageGrab trick does exactly what I wanted. Thanks for the tip!<br>><br>> Actually, I want to write a little package for the learning experience<br>> sometime over the holidays (plus I use VNC fairly often), but I can't
<br>> find any direction, or any already made packages for python for the VNC<br>> protocol (no libs?).<br>><br>> On 11/2/06, *Luke Paireepinart* <<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com
</a><br>> <mailto:<a href="mailto:rabidpoobear@gmail.com">rabidpoobear@gmail.com</a>>> wrote:<br>><br>><br>> >> Anyone know of a way to capture special keys like "Print Screen"?<br>
> >> I have a small script to grab all they keycodes, but it doesn't<br>> seem to<br>> >> catch several keys on the keyboard. I've got a utility that I'd<br>> like to<br>> >> be able to automagically get a screenshot when something goes
<br>> wrong so I<br>> >> dont have to hope the user can re-create the error. Universal<br>> support<br>> >> would be best, but WinXP is the main OS<br>> >><br>> >>
<br>> ><br>> > I'm not exactly sure what you want here :-) but if you want to<br>> capture<br>> > when the 'Print Screen' key (or any other key) has actually been<br>> > pressed, try pyHook. Note: pyHook only works on Windows!
<br>> ><br>> Also note that if you want all of the keypresses, but you _don't_ care<br>> about the application with focus<br>> receiving the input, you can do a complete key grab using TKInter or
<br>> Pygame, and probably the other GUI packages too.<br>> But, like I said, if you were, for example, typing an e-mail and you<br>> started a script that did a complete grab like this, you'd no longer be
<br>> able to type<br>> into the e-mail window. Using pyHook, your program could see all the<br>> keypresses, but they'd also still be sent to the e-mail program.<br>> Actually, I've never tried it, but I'm pretty sure that's how the GUI
<br>> packages' key capturing works.<br>> You may be asking 'well, it sounds like pyHook does a better job of<br>> this<br>> anyway!'<br>> Yeah, you're right.<br>> However, as Alan exclaimed, pyHook works only on Windows!
<br>> So the solution I offered would be more portable.<br>> Hope that helps,<br>> -Luke<br>><br>><br>><br>> ------------------------------------------------------------------------<br>>
<br>> _______________________________________________<br>> Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>> <a href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor
</a><br></blockquote></div><br>