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
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
[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
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 =
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
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
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
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
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 =
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 =
10 matches
Mail list logo