Hi all,
 
I hate to do this but my situation is desparate!
 
Could somone please generate for me the COM/Python bridge for the HTMLEditHost interface.
 
I would do it but I don't have a c++ compiler or know how to use it!
 
Here's my situation incase anyone cares...
 
I'm project admin, for a Kiosk company, we usually use DHTML and Delphi for our work. I'm so cool, I decided to use Python for this new project that we're doing.
 
I like python but I had to learn a lot to do python COM. Now I'm 4 days behind and have an investor presentation coming up!
 
Python automation of Internet Explorer is much quicker to develope and easier to debug than either JScript or Delphi.
Apart from two things that slowed me down:
 
1. Type casting. Solved as follows:
 
cast = gencache.GetModuleForProgID('htmlfile') # We'll need the actual python module that defines
                                               # the html document, so we can type cast some things
...
cast.IHTMLStyle2(style).position = 'absolute'A
cast.IHTMLElement3(self.div).contentEditable = 'false'
2. Implementing call back interfaces
 
I need to implement two callback interfaces,
IServiceProvider and IHTMLEditHost
 
Still there! Been 5 days now... :(
 
Thanks in advance
Matthew

Reply via email to