Loading ...
Sorry, an error occurred while loading the content.

538Re: Quake Console Update Unreliable

Expand Messages
  • coolrobd
    Jul 19, 2004
    • 0 Attachment
      I have been looking a bit more into it and think SendMessage is even
      more reliable, anyone used this API function before?

      --- In perlguitest@yahoogroups.com, Chris Hilton <chilton@n...> wrote:
      > You might try splitting your message into individual keypresses and
      set the
      > foreground window (or focus window?) before sending each key.
      Something like
      > the following if it was just regular text:
      >
      > foreach $letter (split(//, $text)) {
      > SetForegroundWindow($window);
      > SendKeys($letter);
      > }
      >
      > If your text has special characters, you'll have to be a little more
      > creative.
      >
      > Chris Hilton
      >
      > -----Original Message-----
      > From: coolrobd [mailto:coolrobd@y...]
      > Sent: Monday, 19 July, 2004 03:03
      > To: perlguitest@yahoogroups.com
      > Subject: [perlguitest] Quake Console Update Unreliable
      >
      >
      > Let me start by explaining what I am trying to achieve. Basically
      > the Quake engine has a console window that sits behind it, I
      believe
      > this to be a child window. I want to update the console with text
      > ever 2 seconds.
      >
      > Current Status - I am able to get text to the console, but it is
      not
      > reliable, sometimes all the text arrives, other time bits are
      > missing. If I click in the main window this screws it up, because
      I
      > beleive the main window takes the focus away from the console,
      > therefore the sendkeys command is sending the letters to the main
      > window.
      >
      > Solution Required - I need some way of writing text but be able to
      > specify what window to put this in.
      >
      > Any ideas will be greatly received as I am tearing me hair out and
      I
      > am sure the solution is quite simple.
      >
      > Thanks
      >
      >
      >
      > Yahoo! Groups Sponsor
      >
      > ADVERTISEMENT
      >
      >
      <http://us.ard.yahoo.com/SIG=129qihuc9/M=295196.4901138.6071305.300117
      6/D=gr
      >
      oups/S=1705006951:HM/EXP=1090327130/A=2128215/R=0/SIG=10se96mf6/*http:
      //comp
      > anion.yahoo.com> click here
      >
      > <http://us.adserver.yahoo.com/l?
      M=295196.4901138.6071305.3001176/D=groups/S=
      > :HM/A=2128215/rand=913171747>
      >
      >
      > _____
      >
      > Yahoo! Groups Links
      >
      >
      > * To visit your group on the web, go to:
      > http://groups.yahoo.com/group/perlguitest/
      > <http://groups.yahoo.com/group/perlguitest/>
      >
      >
      > * To unsubscribe from this group, send an email to:
      > perlguitest-unsubscribe@yahoogroups.com
      > <mailto:perlguitest-unsubscribe@yahoogroups.com?
      subject=Unsubscribe>
      >
      >
      > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
      Service
      > <http://docs.yahoo.com/info/terms/> .
      >
      >
      >
      >
      > [Non-text portions of this message have been removed]
    • Show all 9 messages in this topic