Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen Scrape Text Capture
#16
Found a screen text capture component that works in the same way as macro scheduler. Does not use OCR, therefore is fast and accurate. It is shareware, ie stops working after x days. Single license costs $100.

http://www.deskperience.com/screen-scra ... turex.html

Download and install. Then can use in QM. Also can be used without installation, you only have to copy all the dll files and register tcapturex.dll (eg using RegisterComComponent or type libraries dialog).

Examples.

Macro
Code:
Copy      Help
out

;captures text of active window

typelib TCaptureXLib {92657C70-D31B-4930-9014-379E3F6FB91A} 1.1
TCaptureXLib.TextCaptureX t._create
str s=t.CaptureActiveWindow
out s

Macro
Code:
Copy      Help
out

;captures text of user selected rectangle

typelib TCaptureXLib {92657C70-D31B-4930-9014-379E3F6FB91A} 1.1
TCaptureXLib.TextCaptureX t._create
int hwnd x y cx cy
if(t.CaptureInteractive(hwnd x y cx cy)) ret
str s=t.GetTextFromRect(hwnd x y cx cy)
out s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)