in reply to How to get DOM from currently open IE browser.
use Win32::GuiTest qw(:ALL);
take a look at its methods:
FindWindowLike(); SetActiveWindow(); SetForegroundWindow();
The above link has much better examples, but in a nutshell 'FindWindowLike' will find the IE window by name (among other things), and give you its ID (among other things). You can use that with 'SetActiveWindow' in combination with 'SetForegroundWindow' to grab your IE window and give it focus.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get DOM from currently open IE browser.
by dadto7 (Novice) on Nov 07, 2007 at 15:23 UTC | |
by technojosh (Priest) on Nov 07, 2007 at 15:41 UTC | |
by dadto7 (Novice) on Nov 07, 2007 at 18:30 UTC |