Converting the text in a window to an image and then attempting to convert it back to text is a very complicated and error prone way of achieving your goal.
If you can select the text you want to capture with the mouse, then you can obtain that selected text within a perl program very easily using Win32::Clipboard.
If the text you wish to capture is non-selectable, then you might need to look at Win32::GUI::Test and the GetWindowText() method.
In reply to Re: getting text from a window
by BrowserUk
in thread getting text from a window
by peter.arun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |