in reply to How To Read Win32 Window Title Text
Here's a working example...
use Win32; use Win32::GuiTest qw(:ALL); my $searchString = 'Internet Explorer'; for (FindWindowLike()) { my $title = GetWindowText($_); next unless ( $title ); if( $title =~ /$searchString/ ) { print "$title\n"; } }
Update: Added code example that applies to Internet Explorer
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How To Read Win32 Window Title Text
by roho (Bishop) on Nov 12, 2007 at 22:37 UTC |