469,887 Members | 1,216 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,887 developers. It's quick & easy.

Python: how to activate second IE window?

Hi,

I am new to Python and I am using PAMIE to manipulate IE browser. Currently, I have IE window 1 launched, after I clicked on a link on window 1, a second IE window 2 isopened. Then, I want to activate IE window 2 (click button or change url), the focus keeps on IE window 1 and click on the button on window 1. I have used "def windowFind" from the PAMIE and able to find IE window 2. Can someone please tell me how to activate IE window 2 so I can click on the button etc..?

Many thanks,

Mary
Dec 7 '06 #1
1 2531
bartonc
6,596 Expert 4TB
Hi,

I am new to Python and I am using PAMIE to manipulate IE browser. Currently, I have IE window 1 launched, after I clicked on a link on window 1, a second IE window 2 isopened. Then, I want to activate IE window 2 (click button or change url), the focus keeps on IE window 1 and click on the button on window 1. I have used "def windowFind" from the PAMIE and able to find IE window 2. Can someone please tell me how to activate IE window 2 so I can click on the button etc..?

Many thanks,

Mary
I'm guessing here, but it seems to me that if
window2 = windowFind(whateveryouputhere)
then it's probably
window2.activate() # maybe with a capital
If you search thescripts for "cPAMIE", you'll find some interesting discussions.
Posting code always helps, too.

The PAMIE project seems very interesting. It's too bad that the docs are so limited. The best that I could find is
Latest News11/01/2006

PAMIE Tutorials Now online!!! @ http://showmedo.com

So somebody is still working on it. Hope that helps some.
Dec 7 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Bruce Davis | last post: by
4 posts views Thread by Milon | last post: by
1 post views Thread by bill ramsay | last post: by
5 posts views Thread by Donnal Walter | last post: by
2 posts views Thread by Dave Booker | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.