Aug 26, 2009, 8:58 AM
Post #2 of 2
Re: [novicetillnow] Screen scrapping in perl
[In reply to]
Is the UI in question a webpage or a traditional GUI application? If a webpage, the proper approach is to fetch the page using the LWP and then parse it using an HTML Parser package like HTML::TreeBuilder.
If the UI is a traditional application GUI, the technique is platform-dependent. If your platform is Windows, you can do it with the Win32::API module.
Check out this thread at perlmonks for an example: http://www.perlmonks.org/?node_id=674214
I imagine there's something similar for X as well, if you're on Linux.