RE: Problems with COM interface

2001-07-13 Thread Mark Hammond
> >>> gen_app > > > >>> gen_app.default_interface.Activate() What about simply "gen_app.Activate()" ? > Traceback (most recent call last): File "", > line 1, in ?TypeError: unbound method Activate() must be called > with instance as first argument > Evidently I have the class, not a

RE: Script now waiting but no events delivered (Was 'Keeping a script running to wait for COM events')

2001-07-13 Thread Mark Hammond
> I now figured out how to keep the script running, but for some reason the > events are not being delivered. > > To keep the script running I just created an additional thread > (which simply > loops). Now that that works though, the events still do not seem to be > delivered... Your loop proba

Problems with COM interface

2001-07-13 Thread Kent Tenney
Howdy, I need to import ~ 14,000 filename/keyword sets from a .csv file into Canto Cumulus, an image management app. and I'm a bit over my head with this stuff. If the following is enough to provide some direction, I'd appreciate it. here's my code; import win32com.client from win

Script now waiting but no events delivered (Was 'Keeping a script running to wait for COM events')

2001-07-13 Thread Nathan Phelps
I now figured out how to keep the script running, but for some reason the events are not being delivered. To keep the script running I just created an additional thread (which simply loops). Now that that works though, the events still do not seem to be delivered... Any ideas? Thanks, Nathan