Click here to get back home

Reading listbox/combobox/textbox using perl?

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Reading listbox/combobox/textbox using perl? jis 05-16-2007
Posted by jis on May 16, 2007, 6:01 pm
Please log in for more thread options




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


Posted by Dr.Ruud on May 16, 2007, 8:17 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."


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.


Similar ThreadsPosted
reading array data back into perl with YAML December 1, 2005, 2:22 pm
Help reading PDF to get text... November 26, 2004, 3:50 am
Any module for reading Apache log files? October 6, 2004, 9:17 am
Reading AND writing Excel spreadsheets April 30, 2005, 10:05 am
Reading Data::Dumper output February 8, 2008, 12:11 pm
Increase file reading efficiency March 19, 2008, 1:26 pm
Device::Cdio - encapsulates CD control and reading February 10, 2006, 2:22 pm
permssion denied reading mqueue directory June 14, 2006, 12:58 am
reading from Net::Telnet input string problem June 16, 2006, 1:17 pm
install HTML::Template - Problem reading cache file / Bad file number July 24, 2004, 7:55 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap