Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in EA_Proc2 when using Find Accessible Object
#1
I am trying to access the information displayed in a grid on a windows application. I've tried several things to get the data:
(1) copy/paste -- the grid does not allow copy/paste
(2) OCR using MODI -- the OCR is not always accurate
(3) Control as an accessible object -- When I drag the "Find accessible object" dialog target to the grid, I get an error as follows:
Error (RT) in EA_Proc2: child window not found
The line it fails on: if(r=ROLE_SYSTEM_WINDOW) e.s.format("%s (%s) ''%s''" e.rs e.cs.getwinclass(child(a.a)) e.ns)

When I browse to it with the Explore Windows I get:
Class: ''ListView20WndClass''
Text: ''''
Styles: 0x5680024D 0x0
Rect.: L=560 T=294 R=951 B=532 W=391 H=238
Other: unicode 0. 64-bit 0. class style 0x8.
Id: 0

Can you let me know why I'm getting the error with the accessible object dialog?
Can you suggest how to get the information from the grid?

Thank you
#2
Accessible objects functions cannot be used to get data from this control.

Try this: Screen Scrape Text Capture
Or this: Screen Scrape Text Capture
It is faster and more accurate than OCR, but not free.


Forum Jump:


Users browsing this thread: 1 Guest(s)