Controlling Acrobat Reader with COM

Hirsch, John JohnH at PHM.GOV.AU
Wed Jun 28 00:17:41 EDT 2000


"Robin Becker" <robin at jessikat.demon.co.uk> wrote in message
news:Q38VarAdKTW5Ewcx at jessikat.demon.co.uk...
>> ...

>> I tried already with correctly escaped filenames and always got the same
>> error ie 'c:\\Python\\Installs\\test.pdf' got the same error as
>> 'gnarg.pdf' (and I don't have any docs called gnarg.pdf :)).

>Its likely that Acrobat needs a full-blown control container.  You may
>have to run it like the OCX demos in Pythonwin are run - check out
>pywin\demos\ocx.

>Mark.

If you can use wxPython it has an ActiveX control container in which you can
run Acrobat reader.
There is a demo called ActiveXWrapper_Acrobat.py which does exactly that.
It could be worth a look.

Jon





More information about the Python-list mailing list