Reading listbox/combobox/textbox using perl?

Reading listbox/combobox/textbox using perl?

am 17.05.2007 00:01:20 von jis

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?

Please do reply,

jis

Re: Reading listbox/combobox/textbox using perl?

am 17.05.2007 02:17:19 von rvtol+news

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."

Re: Reading listbox/combobox/textbox using perl?

am 18.05.2007 22:59:44 von jis

On May 16, 7:17 pm, "Dr.Ruud" wrote:
> 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.