I need to build the ability to capture text from a window, like how this utility works. You specify a windows handle and it will return the text inside the window, regardless if the text is selectedable or can be copy pasted. It’s not using any OCR technique either. How can I write this in a .net environment? Can someone explain the technique being used?
Share
TextGRAB SDK capture text by intercepting API function calls and than calculates what text was displayed in the window. To say the truth not sure if that’s possible to implement this in .NET.
Regarding WM_GETWINDOWTEXT, GetWindowText() – this simply won’t work for many controls (e.g. lists of different kind, etc)