Determine window focus

Ask a Question related to PERL Beginners, Design and Development.

  1. #1

    Default Determine window focus

    I'm trying to write a Perl script that will watch for an IE window to
    get the focus, grab the COM2 input and output it as if it were from the
    keyboard. When the IE window loses focus, it should sit quietly waiting
    for IE to come back on top. We run a program that uses a bar code
    scanner plugged into COM2 but I'd like to use the scanner to do input
    on a web page, but it can't interfere with the other program. (on W2K)
    I don't know where to start looking for the method to determine if a
    window has focus. I looked through a lot of modules but came up empty.
    Any help would be greatly appreciated.

    Ron

    Ron W Guest

  2. Similar Questions and Discussions

    1. giving focus to PopUp window
      I have an mxml file which has button which pops up a title window. Now this titile window has a textArea. I give focus to the text area by saying...
    2. Keep focus on shockwave in browser window
      I'm having a problem with a shockwave movie running in a browser. The 3D shockwave scene needs keyboard input to move through it. But sometimes, for...
    3. Using ASP to determine different window resolution.
      I am trying to use ASP to determine the window resolution so that what ever the clients pc is on different resolution they will able to view the...
    4. Window focus mac X dreamweaver?
      Here's where we're at with the Mac OS X window focusing problem: We've decided that it's such a hassle to work with, so annoying and so disruptive to...
    5. Window Focus
      I have a problem with opening external files from a Fullscreen Director-Movie. I have to open Powerpoint Files from Director and am using the...
  3. #2

    Default Re: Determine window focus

    Ron,

    I would look at either Tk or Wx when dealing with GUI's and widgets. I am going through something similar on one of my own projects. You can follow my project at http://blog.cyberspacelogistics.com

    I will be updating it this weekend with my findings.

    Best Luck,
    Jon
    Unregistered Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139