Greetings to everyone on the mailing list,
To automate Word using COM, we use the Dispatch function:
Dispatch("Word.Application")
What parameter must be passed to Dispatch to launch Adobe Acrobat 7.0
Professional?
Is it the VersionIndependentProgID registry key? Even so, there are so many
things
Hi!
Launch PythonWin, and use [Tools] "COM Browser" and "COM Makepy" for know
the names of COM objects & properties.
@-salutations
--
Michel Claveau
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/pytho
Ferdinand Sousa wrote:
>
> To automate Word using COM, we use the Dispatch function:
> Dispatch("Word.Application")
>
> What parameter must be passed to Dispatch to launch Adobe Acrobat 7.0
> Professional?
> Is it the VersionIndependentProgID registry key? Even so, there are so
> many things in the
Hi!
Would it be a problem to add __unicode__ method like this:
def __unicode__(self):
try:
return unicode(self.__call__())
except pythoncom.com_error, details:
if details[0] not in ERRORS_BAD_CONTEXT:
raise
Jacek Pliszka wrote:
> Would it be a problem to add __unicode__ method like this:
>
>def __unicode__(self):
>try:
>return unicode(self.__call__())
>except pythoncom.com_error, details:
>if details[0] not in ERRORS_BAD_CONTEXT:
>
Jacek Pliszka wrote:
> Hi!
>
> I have something like this:
>
> wrd=Dispatch("Word.Application")
> doc=wrd.Documents.Open('test.doc')
> for j in doc.Tables:
> s=unicode(j)
> ... here I do a few searches on the date inside the table
>
> How can I do it without the method I mentioned ? I
Tim Roberts wrote:
>
> You're relying on a bunch of automatic conversions here, some of which
> do conversions that you don't want.
>
> "j" is not a string here -- it is a Table object. The default property
> of the Table object is a Range object. The default property of the
> Range object is the
Hey all,
So I have a service that needs to interact with the desktop on a Vista
machine. I've read multiple articles about Vista's updated security and
it's restrictions on services. So I realize that in order for the
service to interact with desktop, I'm going to need to create a new
process as
Matt Herbert (matherbe) wrote:
Hey all,
So I have a service that needs to interact with the desktop on a Vista
machine. I've read multiple articles about Vista's updated security and
it's restrictions on services. So I realize that in order for the
service to interact with desktop, I'm going to