I had gone through all the points that you mentioned. And other subs
worked fine, except for the FindWindowLike.
I finally fought hard and got back one of the old machines, so now
I'm good. Found I was wasting way too much time in trying to get that
to work. Though I would have loved to get to the bottom of that.
Thanks for the help though.
--- In firstname.lastname@example.org
, "Dennis K. Paulsen"
> I know of no known problems with FindWindowLike, but here are a
> couple of various thoughts on this:
> 1) When you enable[d] Win32::GuiTest debugging support via
> setting "$Win32::GuiTest::debug = 1;" in your script; what was the
> output of that? Does it tell you anything useful?
> 2) Are you using "use strict;" and "use warnings;" in your script?
> If so, were there any warnings or errors being complained about?
> 3) Is the Operating System in the same language on this new machine
> as the old machines, i.e. English, etc?
> 4) When you tried the Fonts.pl example, did you first ensure the
> FontTxt and OpenFont constants are updated at the top of the script
> for the language you are using? The default is generally not
> 5) If you were to put...
> print 'Window Count: ' . scalar FindWindowLike(0, '.*') . "\n";
> ...in a script and run the script, what does it output? Does it
> actually output "Window Count: 0"?
> 6) Which version of Perl and Win32::GUITest are you running? Are
> they both installed properly? Have you tried reinstalling both?
> 7) Which Operating System is this under? Have you tried running
> Windows Update wizard on it?
> Dennis K. Paulsen
> --- In email@example.com, "shsk7203" <shsk7203@y...>
> > I have been shunted from one machine to anotehr for various
> > (to-date about three machines!) My script has so far worked on
> > three previous machines, except the current one.
> > The FindWindowLike function does not seem to find any windows on
> > computer. Has anyone come across this problem? Is there any
> > resolution? I even tried the Fonts.pl, but came up with
> > the Font dialog?".
> > Sure hope there's a known resolution for this, as unfortunately I
> > cannot return to the old machine where things were the scripts
> > working :-(
> > Regards,
> > -Shital