Windows: COM Automation problem with german VB localisation
Dirk-Ulrich Heise
hei at adtranzsig.de
Wed Jun 14 05:51:21 EDT 2000
Hi all!
I have problems automating a german version of MS project.
Like usual, i tried to find out the COM interface of the program
by recording VB macros in it and re-typing them in my Python
script.
The problem is: It's one of the MS programs where they localized
the Visual Basic inside it, unfortunately (and needlessly) german
Umlaute (ä,ö,ü)
are part of the function names the MS program understands.
Python chokes on them, it seems.
Two questions:
- Does anybody know a workaround?
- Is there a more elegant way of finding out the COM interface
then recording the steps you want to automate with the
VB macro recorder? Can i query the interface of the COM
object from within my script? i tried something along the
way of "for i in o.__class__.__dict__.keys(): print i",
but got only a few internal methods of the COM wrapper
stuff.
(When you answer into the group, please cc a copy
to my mailbox, i'm not a regular reader at the moment)
--
Dipl.Inform. Dirk-Ulrich Heise
hei at adtranzsig.de
dheise at debitel.net
More information about the Python-list
mailing list