Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to run the following code to find handle of the window of google talk,but it throws errors.please tell me whats wrong with the following code
use Win32::GuiTest qw( FindWindowLike ); use strict; my @Mhnds = FindWindowLike( undef, “^Google Talk” ); if( !@Mhnds ){ die “Cannot find Messenger Runningn”; }else{ printf( “handle of Messenger is %xn”, $Mhnds[ 0 ] ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to find handle of a window?
by GrandFather (Saint) on Nov 04, 2011 at 06:32 UTC |