Results 1 to 2 of 2
  1. #1
    Berend is offline Member
    Join Date
    Oct 2009
    Posts
    1
    Rep Power
    0

    Default getting tekst from Program

    hello,

    I'm Trying to extract some text from a program that i run. The program continuously prints text, about status and such, in a window. I want to use java to analyze this text. I just can't figure out how i might be able to get this text into java.

    I hope I stated my problem properly.
    Berend

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    If this is a non-Java program that you're trying to monitor, you may wish to use something other than Java. For instance, if this were a Windows program, I'd look into using AutoIt to do the extraction. You could then get the output from autoit via an InputStream and stream it into Java if you wish. If this doesn't answer your question, you may wish to provide more detail, a lot more detail in fact.

Similar Threads

  1. execute java program within java program
    By popey in forum New To Java
    Replies: 2
    Last Post: 10-22-2009, 05:32 PM
  2. Execute A program from a Program!
    By Moncleared in forum Advanced Java
    Replies: 2
    Last Post: 02-22-2009, 04:17 PM
  3. Executing a program within a program
    By gibsonrocker800 in forum New To Java
    Replies: 5
    Last Post: 05-12-2008, 08:24 AM
  4. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •