Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screen Scrape Text Capture
#29
Macro
Trigger F6     Help - how to add the trigger to the 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

How come this does not work anymre...

errors at, if(t.CaptureInteractive(hwnd x y cx cy)) ret
saying..

Error (RT) in Macro: 0x80040201, An event was unable to invoke any of the subscribers


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)