[python-win32] Failure in calling ie.document.body.getElementsByTagName('div')

2015-03-07 Thread Johannes Frank
Hello Mark, hello everyone, I just wanted to report that the following error occurs: Traceback (most recent call last): File "C:\Python27\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 326, in RunScript exec codeObject in __main__.__dict__ File "C:\Users\jmfra_000\Docum

Re: [python-win32] pythonwin not catching all events

2013-02-07 Thread Johannes Frank
me a hand on how to supply a patch I'll be glad do this. Now it runs, but the behaviour didn't change: No events without focus. I am starting to run out of ideas. :-( Kind regards Johannes Frank 2013/2/6 Johannes Frank > Hello Newsgroup, > > I am currently programming

Re: [python-win32] pythonwin not catching all events

2013-02-07 Thread Johannes Frank
I am free to use either python2 or python 3 as long as I do get all events. Thank you for your audience. Kind regards Johannes Frank 2013/2/6 Johannes Frank > Hello Newsgroup, > > I am currently programming ProgeCAD an AutoCAD Clone and having > difficulties catching all events. &

[python-win32] pythonwin not catching all events

2013-02-06 Thread Johannes Frank
is ok. Neither root.mainloop() nor pythoncom.PumpMessages() work. I also tried a different implementation of the events: icad = IntelliCAD.Application() WSClass = ClassType("COMEventClass", (icad.__class__, icad.default_source, WorkspaceEvents), {'__setattr__': win32com

[python-win32] python win32com design question

2013-01-29 Thread Johannes Frank
Hello, I am currently working with win32com to access ProgeCAD (an AutoCAD Clone) Excel and PDFCreator. Using comobj = win32com.client.Dispatch('xxx') gives me an object through which I can access the COM interface and thus the underlying program. Within my program I have to pass this object ar

[python-win32] Eventhandling with Intellicad

2012-10-17 Thread Johannes Frank
Hello everybody, I am trying to do some eventhandling with win32com and Intellicad in python. I did write: import win32com.client import win32api import pythoncom,pywintypes import IntelliCAD import time from eventhandler import * icad_CLSID = '{77E49E57-976B-11CF-8CCB-00A0245B09EB}' defaultN

Re: [python-win32] VARIANT parameter

2012-10-12 Thread Johannes Frank
Thank you Dan, it works like a charm. 2012/10/12 Johannes Frank > Hello, > > I am trying to access an AutoCAD clone, intellicad, via win32com. I > managed to access, but now I am stuck. > AutoCAD as well as Intellicad want > > filterType=VARIANT(

[python-win32] VARIANT parameter

2012-10-12 Thread Johannes Frank
Hello, I am trying to access an AutoCAD clone, intellicad, via win32com. I managed to access, but now I am stuck. AutoCAD as well as Intellicad want filterType=VARIANT(pythoncom.VT_ARRAY,[0]) filterData=VARIANT(pythoncom.VT_ARRAY,['LINE']) dwg.ActiveSpace = cnsts.vicModelS