Text in a window

  • Thread starter Thread starter Vamsi Krishna Paningapalli
  • Start date Start date
V

Vamsi Krishna Paningapalli

Guys,

Is there any way to read all the text in a window.
Irrespective of as what is in the window. What i mean is if there are
some OLE controls or some thing else which write the text; Is there a
possibility of reading the whole text ?

Any help is appreciated on this aspect.

Thanks
--Vamsi
"I don't wanna be a product of my environment, I want my environment to
be a product of me."
 
The previous comment in this thread was actually made by "Vamsi Krishna
Paningapalli said:
Guys,

Is there any way to read all the text in a window.
Irrespective of as what is in the window. What i mean is if there are
some OLE controls or some thing else which write the text; Is there a
possibility of reading the whole text ?

Any help is appreciated on this aspect.

Thanks
--Vamsi
"I don't wanna be a product of my environment, I want my environment to
be a product of me."

A bit vague - scrollbars, ctrl-a + ctrl-v into notepad, or a ctrl-c followed
by a control-v into notepad.....
 
Well, I meant through programmatically. What i mean is there any way
that we can read the whole text with in a window << Window is already
running/written by third party >> through some interface of the windows
?

--Vamsi

"I don't wanna be a product of my environment, I want my environment to
be a product of me."
 
To recap said:
Well, I meant through programmatically. What i mean is there any way
that we can read the whole text with in a window << Window is already
running/written by third party >> through some interface of the windows
?

--Vamsi

Difficult to generalise since some applications make it alot easier than
others.
For example Internet Explorer exposes its Document Object Model (DOM), which
you can use via scripts etc. Likewise Word and Excel offer ways that they
can be scripted / accessed.
If you have a specific application / program in mind then let us know and
someone may be able to help further.
 
Reliable sources are claiming that "Vamsi Krishna Paningapalli"
Well, I meant through programmatically. What i mean is there any way
that we can read the whole text with in a window << Window is already
running/written by third party >> through some interface of the windows
?

--Vamsi


Not tried it, but this looks like an interesting approach

http://www.structurise.com/textract/
 
Back
Top