in reply to GUITEST module - FindWindow Question
Well, FindWindowText will return undef if it can't find a window that matches the given criteria. So how about doing something like this:
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa
And just replace 500 with the number of milliseconds you'd like to wait between each check.my $win; do { select(undef, undef, undef, 500); $win = FindWindowLike(0, "", "FOO"); } until ($win);
The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows. - Frank Zappa
|
---|
In Section
Seekers of Perl Wisdom