I have a script that does some kludging around with GetForegroundWindow and GetWindowText to detect modal error dialogs. It does a fairly reliable job of...
Could you please send us those scripts? --Piotr ... GetForegroundWindow and GetWindowText to detect modal error dialogs. It does a fairly reliable job of...
... The script is proprietary to one of my client, but here's a sanitized snippet. I call the checkFocus sub right before every mouse click. Hopefully it...
This caught my eye... ... Here's the simplest case of a script to handle modal dialogs: use Win32::GuiTest qw(FindWindowLike GetWindowText SetForegroundWindow...
Yes, please send in your script. I've been working on something to do this for the last couple of days. I've finally got something to work. But to quote a...
... My approach: I scan for new top level windows 10 times per second and have the rule: Every unexpected new top level window is an error. Thus in my test...
Problem: when click on any button of 2nd label, buttons of 1st label becomes unchecked. How to constraint each set of radiobutton separately, ie when clicking...
This forum is dedicated to Win32::GuiTest, not Win32::GUI. You can find documentation for this module here http://perl-win32- gui.sourceforge.net . You can...
Hi, I have a plain old Perl console application which writes a lot of info to stdout, kicks off some other GUI based applications (Framemaker and Acrobat...
No, unfortunately, SetForegroundWindow on Win2K has a restriction that it can only make a window flash in the taskbar until you give it attention by...
OK. I got your point. I don't know any simple solution to your problem. But your post ... work ... Yes, it is strange. And if you do Alt-TAB manually does this...
Piotr-- The sample code for the MsgBox will follow later. Crimson Editor handles the ALT-TAB sequence correctly when I use it manually. It's only when I use...
Piotr-- I've pasted my sample code into the mailnote below. A few notes: There's a four second pause due to a call to "Win32::Sleep". During that period I...
Hi All, I've installed the latest Perl version from Active perl on my XP, and tried to work with Win32::GuiTest. When I saw that complicated code I tried to...
I have the window Id for a combo entry, but I can not make it active for SendKeys () (or even SelComboString ()). I've tried SetFocus () and SetActiveWindow...
Hi, I forgot to mention that I installed GuiTest from CPAN, build Win32- GuiTest-1.50.3-ad. The perl version I'm using is also 5.8.7 . The strange thing is...
I'm not sure if there is a command for it, but I've taken to doing many things strictly with mouse clicks. You can do the same if you've already got the HWND...
Hi All I downloaded Win32::GuiTest module from cpan and I'm getting the following error while installing it. I did the following… Perl Makefile.PL This...
Use the Win32::OLE and WMI ...to retrieve hardware details Susruth "Dhanapalan.C" <dhana_foru@...> wrote: Hi Friends I want to get the hardware deatils...
You shouldn't need to compile the package from CPAN assuming you're using a recent version of ActivePerl from ActiveState. Just extract it to a temp directory,...
Hi folks, I was thrilled when I ran across this module...now if I can just understand how to use it without creating a maintenance nightmare. :) My overall...
I need to get the listing of the directory in the explorer in Win2K3 back to the perl script, how do I do it? Also when I right click on the properties of a...
Hello, Vladimir. I think, it`s easier to get current explorer path from location bar and then use it with e.g. File::Find. As for security tab, you can use...