in reply to How to use FindWIndowLike to find a window like "SURFer++ note" under Win32::GuiTest module

How is it "not working"? Is there any error message? Does the program crash? Does your house burn down?

Note that you seem to pass a weird string to FindWindowLike(...) - it takes a regular expression in a string, not the result of a matching m// expression. Maybe you want to pass a simple string to it?

FindWindowLike(undef,qr/^\s*(SURFer)\s*(\W+)\s+(note)\s*$/)
  • Comment on Re: How to use FindWIndowLike to find a window like "SURFer++ note" under Win32::GuiTest module
  • Select or Download Code

Replies are listed 'Best First'.
Re^2: How to use FindWIndowLike to find a window like "SURFer++ note" under Win32::GuiTest module
by ankit.tayal560 (Beadle) on Sep 08, 2016 at 09:07 UTC

    okay it works thanks ! but can you please elaborate why you used qr/../ in FIndWindowLike(...) what is the significiance of qr? I am pretty new to perl scripting!

        thanks a lot ! works good for me(y)