By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,278 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,278 IT Pros & Developers. It's quick & easy.

Screen text capture

P: n/a
Is there any component out there to capture screen text from a specific
region on any active external application form.

Thanks

Marco
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
* "Marcob" <ma****@webcentralsolutions.com> scripsit:
Is there any component out there to capture screen text from a specific
region on any active external application form.


In the simplest cases:

You can get text text of the control under the mouse pointer by
p/invoke:

'GetCursorPos'
'GetClassName'
'SendMessage'
'WM_GETTEXT'
'WM_GETTEXTLENGTH'
'WindowFromPoint'

A more general solution would include OCR on a screenshot, but I doubt
that this is easy to implement.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2

P: n/a
Thank you.

What I am looking is capture text on a screen that is NOT part of the
current application. Simple scenario would be. Click on F-12 and a
portion(starty,startx,endy,endx) of the screen (that has always the text
"ACCOUNTING APPLICATION" on the header) would be captured.

Any ideas ?

Thanks

Marco

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2f************@uni-berlin.de...
* "Marcob" <ma****@webcentralsolutions.com> scripsit:
Is there any component out there to capture screen text from a specific
region on any active external application form.


In the simplest cases:

You can get text text of the control under the mouse pointer by
p/invoke:

'GetCursorPos'
'GetClassName'
'SendMessage'
'WM_GETTEXT'
'WM_GETTEXTLENGTH'
'WindowFromPoint'

A more general solution would include OCR on a screenshot, but I doubt
that this is easy to implement.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #3

P: n/a
Check Aqua deskperience - a capture text and search from desktop app(
http://www.deskperience.com ). I used it a lot for capturing text not
available for copy/paste. They might have a library for doing this.

"Marcob" <ma****@webcentralsolutions.com> wrote in message news:<Ot**************@tk2msftngp13.phx.gbl>...
Thank you.

What I am looking is capture text on a screen that is NOT part of the
current application. Simple scenario would be. Click on F-12 and a
portion(starty,startx,endy,endx) of the screen (that has always the text
"ACCOUNTING APPLICATION" on the header) would be captured.

Any ideas ?

Thanks

Marco

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:2f************@uni-berlin.de...
* "Marcob" <ma****@webcentralsolutions.com> scripsit:
Is there any component out there to capture screen text from a specific
region on any active external application form.


In the simplest cases:

You can get text text of the control under the mouse pointer by
p/invoke:

'GetCursorPos'
'GetClassName'
'SendMessage'
'WM_GETTEXT'
'WM_GETTEXTLENGTH'
'WindowFromPoint'

A more general solution would include OCR on a screenshot, but I doubt
that this is easy to implement.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>

Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.