Re: Keystrokes and mouse clicks to another app



On May 31, 4:50 am, "Paul S. Ganney" <paul.gan...@xxxxxxxxxx> wrote:
Hi all,

I'm managing a project that will, as part of it, require me (so I'm
told) to type in 800 NI numbers. I have the numbers in a file, but
they can't (or won't) upload them.

I was therefore considering writing an app that will enter these
numbers via their interface, by sending keystrokes and mouse clicks to
their window. I'm guessing that I need to get a handle to it and then
send it messages, but that's as far as I've got. I believe that the
app is web-based, running in IE6.

It may be more effort to do it this way, of course, but it'll be a lot
more interesting (and I'm a programmer, not a typist!)

Any help you can offer would be gratefully received - pointers to
routines, code, demos etc.



Typically you can use SendInput etc to do this. Since you are using
IE6, you can also use its very useful object model(IWebBrowser2) to do
the same.

---
Ajay

.



Relevant Pages

  • Keystrokes and mouse clicks to another app
    ... I'm managing a project that will, as part of it, require me (so I'm ... I was therefore considering writing an app that will enter these ... app is web-based, running in IE6. ... more interesting (and I'm a programmer, ...
    (microsoft.public.vc.mfc)
  • Re: IE6 quirks
    ... My app looks right in IE7 ... Did you include browsers without JavaScript in your testing? ... Everything gets crammed up against the top and IE6 does not respect the ...
    (comp.infosystems.www.authoring.stylesheets)
  • Re: "SendKeys" equivalent in Linux
    ... >> another by sending keystrokes to the buffer for that app. ... That's limited to console programs. ... I've browsed the Xlib reference. ...
    (comp.os.linux.misc)
  • Re: "SendKeys" equivalent in Linux
    ... > sending keystrokes to the buffer for that app. ... The technique is ... One is just to use an input file: ...
    (comp.os.linux.misc)
  • Re: Smart Search Spyware
    ... Try the app here: ... > Whwn I use IE6 I get automatically redirected to the ... > be part of Smart Search. ...
    (microsoft.public.windowsxp.security_admin)