Re: separate IE instances?

2005-06-13 Thread Chris Curvey
the good news is that if run the ShellExecute bit twice, I get two instances of explorer in Task Manager The bad news is that the line ioObj = hwnds[1] tells me either This object does not support enumeration (if I have not used makepy to generate the classes) or object has no attribute

Re: separate IE instances?

2005-06-13 Thread erinhouston
Sorry about that I had an instance of ie running in the background that was version 0 didn't see the problem tell this morining when my computer started to not work. it should be hwnds[1] should be hwnds[0]. I woud enumerate them like in the code below. If you have ie as your default browser

Re: separate IE instances?

2005-06-13 Thread J Correia
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry about that I had an instance of ie running in the background that was version 0 didn't see the problem tell this morining when my computer started to not work. it should be hwnds[1] should be hwnds[0]. I woud enumerate them

Re: separate IE instances?

2005-06-08 Thread erinhouston
Here is quick and dirty example of what jc talked about. import win32api from win32com.client import Dispatch a = win32api.ShellExecute(0,None,iexplore.exe,None,None,1) internetExplorerClassIdentity='{9BA05972-F6A8-11CF-A442-00A0C90A8F39}' hwnds = Dispatch(internetExplorerClassIdentity) ieObj =

Re: separate IE instances?

2005-06-07 Thread Martin Franklin
Chris Curvey wrote: Bummer. No change at all. (In fact, I can't even call Navigate() without throwing an error). I'm on win2k, if that makes any difference. I could be way off, but isn't windows one of those OS's that doesn't allow you to have two instances of IEXPORE.EXE running IOW the

Re: separate IE instances?

2005-06-07 Thread J Correia
Chris Curvey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would have given up on this a long time ago, but I can create two IEXPLORE processes simultaneously (and get the behavior I want) by just manually launching them from the Start menu. (Of course, that doesn't mean

Re: separate IE instances?

2005-06-07 Thread Chris Curvey
thanks for all the help. I'll give the ShellExecute() approach a try in the morning. The short version of what I'm trying to do is Have my website login to a 3rd party website on behalf of my customer, fill out a form, and submit it. I'm just using CGI to keep things simple, but

Re: separate IE instances?

2005-06-07 Thread J Correia
Chris Curvey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] thanks for all the help. I'll give the ShellExecute() approach a try in the morning. The short version of what I'm trying to do is Have my website login to a 3rd party website on behalf of my customer, fill out a

separate IE instances?

2005-06-06 Thread Chris Curvey
I need to create a set of IE instances that have different sets of session cookies. I thought that using the win32com.DispatchEx function would do this, but it doesn't seem to. In other words ie1 = win32com.DispatchEx(InternetExplorer.Application) ie2 =

Re: separate IE instances?

2005-06-06 Thread J Correia
Chris Curvey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I need to create a set of IE instances that have different sets of session cookies. I thought that using the win32com.DispatchEx function would do this, but it doesn't seem to. In other words ie1 =