|
On Nov 14, 5:18 pm, midoga <mid...@tin.it> wrote:
> > Or are you asking how to read something from a window
> > of an executable program for which you do not have
> > source code?
>
> > If it is the second, this is not an easy problem. The only
> > way I could think to accomplish it would be to see if
> > there is something in the Windows API that lets you
> > do it, and then write MEX code to access the API.
>
> > - Randy
>
> I'm just asking to read something from a window of an executable
> program for which I don't have source code.
> Note that if I make this window active, I copy selection and I paste
> it into notepad, I have just I want to obtain.
> This means that data are presented in simple way.
> I don't know if this can help.
>
> Sorry, what is API?
Application Program Interface. I was thinking that you
would have to make requests to the Windows operating
system to do the equivalent of "select window", "copy",
"paste", etc. An API is a library which a manufacturer
(in this case Microsoft) gives you to access their product
(in this case Windows).
As you can see, it's a fairly difficult problem and not
really a Matlab issue, except my suggestion to write
a MEX program to contain these calls. Are you familiar
with MEX programming? It is the mechanism by which
Matlab interfaces with C or C++ code.
- Randy
|