how to retrieve output from another aplication ??
| Fri, 2006-05-12 01:16 | |
|
i want to catch/retrieve outputs from another aplication, i.e:
i have program x running then throw some outputs : a,b, and c. while the program x is still running i execute another program y, i want the outputs a,b, and c can be proceed in program y ![]() any one can help me thanks before |
|







Is X outputting data to a screen, to a file, to a console, or do you just want to transfer data from x to y?
Forum posts: 19
thanks for reply
Forum posts: 176
bye;
CG
Do you want to do a screen capture? Capture the data before it gets written to the screen. What sort of data are you talking about, a bit of text or some animation.
You have to be more specific with your question
Forum posts: 19
the data is a bit of text, how to capture the data before it gets written to the screen??
Forum posts: 105
Try using Socket....
Cheers!!
CodePupil
Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!
Forum posts: 723
However, I'm not sure if it's possible at all what you're asking for. It would require extra support from Window server and I don't think that WS exposes such an API that makes it possible for others to observe with other applications are drawing.
Tote
Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/
Hmmmm
If an application is displaying information to the screen then there's no way for another application to get that data unless it can somehow hook into the window server. I don't know if this is possible but I would suspect not, and if it is then it'd likly be for internal testing purposes only.
Instead of asking your question why not state why you want to do this?