![]() This way, as a wordlist, you can try to put the name of the section. The document will be opened and the search will be performed, the first result of it being highlighted. Page Thumbnails) 2) Right click on the LHP Navigation strip, Select the option from the context menu 'Pin Page thumbnails'. Just a suggestion: if you want to open the file at a specific section, you could use the parameter search=wordList where wordlist is a list of words seperated by spaces. This is how you can try this out: 1) Launch any PDF and Expand the Panel that you want the acrobat to open by default for every document (For Ex. Process = subprocess.Popen(, shell=False, stdout=subprocess.PIPE) # this will open your document on page 12 Path_to_acrobat = os.path.abspath('C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe') ![]() ![]() # I am testing this on my Windows Install machine Path_to_pdf = os.path.abspath('C:\test_file.pdf') # According to the doc, the formatting is dependent on theĪs for the section, you can have a look to this answer Case 2: you want to call acrobat to open your file at a specific pageįrom this Acrobat help document, you can pass this to a subprocess: import subprocess # This will dump the content (unicode string) Pdf_toread = PdfFileReader(path_to_your_pdf) Here are two basic ideas Case 1: you want to open the file in Python from pyPdf import PdfFileReader, PageObject
0 Comments
Leave a Reply. |