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

extract text

P: n/a
let's say you have a java app running in a window on your linux box and it
has real time changing content as text. how can you extract the text
periodically and save it as a TEXT file. this step does not need to be
pretty formatted just all text need to be saved in a text file so I can
grep and cut it later. is it at all possible?
I need a general solution that will work with any app in a browser window or
standalone java app.
can you take snapshot of a window for instance and then convert it somehow
with utilities so it saves lines of text in a text format file?

thank you
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
regarding your last question : Check out OCR (Optical Character
Recognition) softwares.
If you are using Windows, Microsoft Office comes with one [Document Imaging]
Steve wrote:
let's say you have a java app running in a window on your linux box and it
has real time changing content as text. how can you extract the text
periodically and save it as a TEXT file. this step does not need to be
pretty formatted just all text need to be saved in a text file so I can
grep and cut it later. is it at all possible?
I need a general solution that will work with any app in a browser window or
standalone java app.
can you take snapshot of a window for instance and then convert it somehow
with utilities so it saves lines of text in a text format file?

thank you


Jul 17 '05 #2

P: n/a
Hello,

Can OCR software work with anything other than scanners?
Can OCR software really work with images, like jpegs?
What I mean here is screen content.
I need this to work on linux.

Thank you

Hamed Seifoddini wrote:
regarding your last question : Check out OCR (Optical Character
Recognition) softwares.
If you are using Windows, Microsoft Office comes with one [Document
Imaging]
Steve wrote:
let's say you have a java app running in a window on your linux box and
it has real time changing content as text. how can you extract the text
periodically and save it as a TEXT file. this step does not need to be
pretty formatted just all text need to be saved in a text file so I can
grep and cut it later. is it at all possible?
I need a general solution that will work with any app in a browser window
or standalone java app.
can you take snapshot of a window for instance and then convert it
somehow with utilities so it saves lines of text in a text format file?

thank you


Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.