Thanks, but Application is running within a windows frame utilizing some Java SunAwtCanvas... anything within it is not visible to me from Perl. only graphically. Found the Win32::ActAcc module, here is the Perl code I used to detect any "lasting change" over a 2 second period... It appears very handy for working with other applications...
use Strict; use Win32::OLE; use Win32::ActAcc; use Win32::GuiTest qw(:ALL :SW); my @win; my %Wnm; my %VW; Win32::OLE->Initialize(); while ( 1 ) { @win = (); @win = FindWindowLike(); #*# report any "lost" windows: for $win ( @win ) { delete $Wnm{$win}; } if ( scalar keys %Wnm) { print "Lost:\n"; my @Lost = sort keys %Wnm; for (@Lost) { print "$Wnm{$_}\n"; delete $Wnm{$_}; } print "\n"; } for $win ( @win ) { dumpwin($win); } print "\n----\n"; sleep(2); } exit; sub dumpwin { my $win = shift; print "Null handle\n", return unless ($win); my $w_text = $win . ' ' . GetWindowText($win); $w_text .= " class=" . GetClassName($win); my $w_state = ' V=' . IsWindowVisible($win) . ' E='; $w_state .= IsWindowEnabled($win); $Wnm{$win} = $w_text . ' ' . $w_state; my $ao = Win32::ActAcc::AccessibleObjectFromWindow($win); my $aatxt = ''; $aatxt = $ao->describe() if defined $ao; $w_state .= ' ' . $aatxt; if ( exists $VW{$win} ) { return if ( $VW{$win} eq $w_state ); } $VW{$win} = $w_state; print $win, GetWindowText($win); print " class=", GetClassName($win); print " vis=", IsWindowVisible($win); print " en=", IsWindowEnabled($win); print "\n ",$aatxt, "\n"; }

In reply to Re: Re: GUI Automation - locate image by Anonymous Monk
in thread GUI Automation - locate image by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.