From: Steve G. <jsg...@ya...> - 2011-09-19 15:51:33
|
Thanks, Clint. Steve ________________________________ From: Clinton Jeffery <je...@cs...> To: Steve Graham <jsg...@ya...> Sent: Monday, September 19, 2011 9:25 AM Subject: Re: [Unicon-group] Fw: OT: Scraping data from Windows app screen Philosophically, I am a pragmatist. So when I say something like "Unicon doesn't support GetWindowText() as a bult-in as far as I know", or "I avoid adding non-portable proprietary API's to the language", it is not that I am happy about not having an easy solution for you. The fact is, a number of proprietary Win32 API's were added to Windows Unicon, specifically to support the Windows IDE now known as wu.exe but we never planned to add the whole Win32 API. To add access to these functions, someone has to go write a bunch of C code, either you or me or another internet volunteer, or a student. It could be done either as a few built-ins added to the Win32 proprietary function set, or a set of wrapper functions that convert Unicon parameters into C and call the C API could be bundled into a shared library and the dynamic C code loader could be used to load them into an existing VM. But since almost no one has messed with the dynamic C code loader on Windows, that would be an adventure, too. Sorry that I don't have a quick and easy solution for you. Cheers, Clint On Sat, Sep 17, 2011 at 6:41 AM, Steve Graham <jsg...@ya...> wrote: I googled for this and found this link: http://www.velocityreviews.com/forums/t167359-how-to-extract-text-from-windows.html > > > >It talks about Window api functions such as GetWindowText which can help. When I grep'd the ipl and lower directories for it, the only hits were .exe routines. So, I'm guessing that this api has been defined, but is not used in any sample programs in the ipl. > > >Any advice on how to use it? > > > > >Thanks again, Steve > > > >________________________________ >From: Steve Graham <jsg...@ya...> >To: Unicon Mailing List <uni...@li...> >Sent: Friday, September 16, 2011 10:07 AM >Subject: [Unicon-group] OT: Scraping data from Windows app screen > > >I need to pick up the text (field prompts and data) from a data entry screen. Is there a utility which could do such? An array of text by rows would be preferable, but other formats would likely suffice. > >Thanks, Steve > >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >http://p.sf.net/sfu/rim-devcon-copy2 >_______________________________________________ >Unicon-group mailing list >Uni...@li... >https://lists.sourceforge.net/lists/listinfo/unicon-group > > > > > >------------------------------------------------------------------------------ >BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA >http://p.sf.net/sfu/rim-devcon-copy2 >_______________________________________________ >Unicon-group mailing list >Uni...@li... >https://lists.sourceforge.net/lists/listinfo/unicon-group > > |