launching adobe reader with arguments from os.system call

Greg Miller et1ssgmiller at gmail.com
Tue Sep 6 10:24:54 EDT 2005


Currently I am launching adobe reader using the following call:
os.system("path.file.pdf")
this works fine for opening the pdf doc at the beginning. We would like
to enhance this and open the document to either a page or a nameddest
in the doc.  The syntax for that in the DOS command prompt world is:
acroRd32.exe /A "nameddest=Before You Begin" "path.file.pdf"
However the os.system call won't allow me to call reader using that
syntax.  Does anyone know how I can launch the Reader application and
pass in the parameters required to allow the document to be opened to
the named destination?  Thanks in advance!!




More information about the Python-list mailing list