Capturing text from a window

  • Thread starter Thread starter Paul Bromley
  • Start date Start date
P

Paul Bromley

Can anyone tell me if there is an easy way to capture the text from a window
that is running in an external application?

Best wishes

Paul Bromley
 
Paul Bromley said:
Can anyone tell me if there is an easy way to capture the text from a
window
that is running in an external application?

P/invoke on 'SendMessage' + 'WM_GETTEXT' will work for Windows' standard
controls if you have the control's handle. You can use
'FindWindow'/'FindWindowEx'/... to get a control's handle.
 
Back
Top