Running the following code results in an attribute error:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner
self.run()
File "testcom.py", line 10, in run
print self.ie.locationUrl
File "C:\Python25\Lib
What roundabouts would you recommend to make FireEvent work with
pywin32 module? My clients are mostly installed with pywin32, and
switching to comtypes is a risk now.
2008/6/26, Mark Hammond <[EMAIL PROTECTED]>:
> > I do not know where you see the VT_VARIANT.
> >
> > Here is the IDL defn:
> >
>
2008/6/25 June Kim <[EMAIL PROTECTED]>:
> IE's FireEvent works with a single argument, for example,
> FireEvent("onKeyUp"). However, it doesn't work with two arguments :
> FireEvent("onKeyUp",event).
>
> But It works without a problem with comty
IE's FireEvent works with a single argument, for example,
FireEvent("onKeyUp"). However, it doesn't work with two arguments :
FireEvent("onKeyUp",event).
But It works without a problem with comtypes.
See the following example to reproduce and compare:
file: c:/temp/javascripttest/onkeyup.html