I have an application which is Java-based (an Oracle 11i app, for those familiar with it), used to run queries against a database. I am able to control the menu based IE windows (ALT + pull down menus), but I do not have any controls over the "internal" Java windows being opened in the process. The main purpose of this control would be the need to record the time it takes for running a transaction, i.e. fill in the query fields (I can do that, as the query window opens and gets the focus by default, then I can "tab" through fields), then get the start time (I can do that, obviously, via hour/min/sec), then hit "Enter" (doable), but I have no way to tell when the window gets back the fields completed with the retrieved data (tried CursorChange - but for some transactions that gets by too fast) - the problem is that it looks like the Java created windows are not identifiable via SetFocus). Anybody having played with such things? Any suggestions?
TIA,
Stef
Java-based applets (Oracle related)
Moderators: Dorian (MJT support), JRL
A standard (I've to deal with an VB! application which seems have to be developed by a monkey who was on crack )
GetPixelColor>
So I've checked the message/window about a specific pixel, at a specific coordinate which only changed his color if the condition was met (like the topleft pixel within the string "Done" at IE's status bar which changed his colour (becomes black) right after a webpage has been loaded successfully).
GetPixelColor>
So I've checked the message/window about a specific pixel, at a specific coordinate which only changed his color if the condition was met (like the topleft pixel within the string "Done" at IE's status bar which changed his colour (becomes black) right after a webpage has been loaded successfully).
Thank you for the suggestion - actually I saw other postings of yours, which inspired me to look into this pixel earlier - the problem is that I bought the professional version, as I plan to compile this test into an executable, and deploy it on a couple of PCs, whose rezolution/screen size, colors, etc. may differ - and all the pixels I tried so far were off one way (position) or another (color). I am trying now delays and mouse cursor ... still no "clean" go yet.
Thx again,
Stef
Thx again,
Stef
Resolution/screen size, colors can be detected from the registry use the "RegRead" command (eg. the values you'd set manually on: Display Properties/Appearance/Scheme/Item/Color)
As long as your windows coordinate won't change (eg. centered) you should be able to "communicate" correctly with that window.
As long as your windows coordinate won't change (eg. centered) you should be able to "communicate" correctly with that window.