Skip to main content
Participant
December 8, 2022
Question

Command Line switch to open to a bookmark

  • December 8, 2022
  • 1 reply
  • 1657 views

I would like to open a pdf to a bookmark. I can open to a specific page using "/A page=x" in the command line. The documents I am opening from a command line all have the same chapter structure and the chapter titles are saved as bookmarks, but the starting location of each chapter changes depending on the length of preceding sections, so opening to a speicifc page is not working, but opening to a bookmark would.   

 

This works for opening to a specific page: 

C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe /A "page=4" "Q:\SOP\SOP_1474.pdf"

 

I need something like this, but "bookmark=" isn't the correct argument

C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe /A "bookmark=Technical " "Q:\SOP\SOP_1474.pdf" "Q:\SOP\SOP_1474.pdf"

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
December 9, 2022

Use named destinations in your documents. Then you can open the documents at the destinations.

Participant
July 3, 2024

Bernd, can you please share the command line to open named destination please?

I can't get it to work.

Thanks.

Bernd Alheit
Community Expert
Community Expert
July 3, 2024