|
Posted by jis on May 18, 2007, 4:59 pm
Please log in for more thread options
> jis schreef:
>
> > I want to read data from a list box,combobox and textbox in an
> > application executable generated by VC++.Can I read this using
> > perl any way?
>
> Yes. But that does not have to be the best way to achieve what you want.
>
> Such "widgets" are often window objects. If they are static, then you
> can try to read the data from the resources in the executable file on
> disk. But if you need to read from the running application, then you
> might even need to go as far as to use OCR to "get the text back".
>
> An example of an application that reads data out of a different running
> application is one that reports the password value in an editbox that
> shows a run of asterisks. Look at the source of such a program, and port
> to Perl.
>
> > Please do reply,
>
> Please type a space after your [:punct:]s.
>
> --
> Affijn, Ruud
>
> "Gewoon is een tijger."
Atlast I couild do it.We can use
win32::guitest.GetListContents($listbox) and
GetComboContents($combobox) can retreive the data from it.
Thanks Ruud for helping me out.
|