[python-win32] send function handler to COM/Jscript ?
Michel Claveau
mc at mclaveau.com
Wed Mar 7 10:26:11 CET 2007
Hi!
*** sorry for my bad english ***
I drive Internet-Explorer, with win32com.client.Dispatch
It's run very well.
Among other things, I can "attach" (with =) jscript function (content in
HTML page) to a Python object, callable, and I use it, in Python's script
(like a Python function).
Now, I search ton send a Python function to the Jscript script (for do
callback).
But I don't find how send a "handler" of the Python function. All me assays
give me a "Objects of type 'function' can not be converted to a COM VARIANT"
However, when I use JScript with ActiveScripting (from Python), I can mix
Python & Jscript functions, without problem. Consequently, I suppose that my
need is possible.
Somebody has a track of solution?
Thanks by advance.
Michel Claveau
More information about the Python-win32
mailing list