• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Navigate to previous pages visited and display it in full page view.

New Here ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

I needed to create a button in adobe acrobat pro dc to navigate to previous pages visited and display them in full page view.

 

So at the RichMedia>ButtonProperties>Action window I added PreviousView and then ZoomToPageLevel.

 

The automation works but unsatisfactorily because it needed 2 or 3 clicks to navigate to each previous pages.

 

I required it to navigate in 1 click instead of 2 or 3.

 

I have spent umpteen hours to solve this problem but to no avail.

 

Can someone please help?

 

TOPICS
How to , JavaScript , Rich media and 3D

Views

213

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Jun 07, 2024 Jun 07, 2024

Use "Run a JavaScript" as the mouse up button action and enter the following script:

app.goBack();
this.zoomType=zoomtype.fitP;

 

 

Votes

Translate

Translate
Community Expert , Jun 07, 2024 Jun 07, 2024

The Previous View command doesn't take you to the last page you visited, but to the last view, which can be a different location on the same page. In order for it to work like you described you would need to use a more complex script that will keep track of what page was viewed last (using the PageClose event of each page in the file) as a doc-level variable, and then jump to that page when the "Back" button is clicked.

Votes

Translate

Translate
Community Expert ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

Use "Run a JavaScript" as the mouse up button action and enter the following script:

app.goBack();
this.zoomType=zoomtype.fitP;

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2024 Jun 07, 2024

Copy link to clipboard

Copied

LATEST

The Previous View command doesn't take you to the last page you visited, but to the last view, which can be a different location on the same page. In order for it to work like you described you would need to use a more complex script that will keep track of what page was viewed last (using the PageClose event of each page in the file) as a doc-level variable, and then jump to that page when the "Back" button is clicked.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines