I want to find a file in a folder, find a specific bookmark in that file, and when the right information is entered (for example "file 7, bookmark 5") the file will open to the right spot. (in python)
I've found this:
path_to_pdf = os.path.abspath(filename)
path_to_acrobat = os.path.abspath('C:\Program Files (x86)\Adobe\Acrobat 10.0\Acrobat\Acrobat.exe')
process = subprocess.Popen([path_to_acrobat, '/A', 'page=' + page, path_to_pdf], shell=False, stdout=subprocess.PIPE)
process.wait()
but it only finds pages, not bookmarks
there seems to be a way to do this with pyPdf2 but I can't find documentation