Skip to main content
New Participant
May 30, 2018
Answered

Is it possible to add a back button and/or a previous view button to multiple pdf files using Adobe Pro 2017 Action Wizard?

  • May 30, 2018
  • 2 replies
  • 3122 views

I have a folder containing a chapter list file linked to almost 500 separate chapter files. I'd like to be able to add a previous view button, and a back button to take the user back to the chapter list. I'd like to be able to do this as a batch process rather than having to add the buttons to each file separately if possible. It seems as though I should be able to do this using Action Wizard, but I can't find the option to add a button. Any help would be much appreciated!

This topic has been closed for replies.
Correct answer try67

Buttons that are created in JS can only execute JS code. To execute the Previous View command use this:

app.execMenuItem("GoBack");

And Next View:

app.execMenuItem("GoForward");

2 replies

try67
try67Correct answer
Community Expert
May 30, 2018

Buttons that are created in JS can only execute JS code. To execute the Previous View command use this:

app.execMenuItem("GoBack");

And Next View:

app.execMenuItem("GoForward");

dhljudiAuthor
New Participant
May 30, 2018

Thanks!

I've just gotten the Adobe Pro program and am not very familiar with JavaScript. Do I create a new action in action wizard and execute a JavaScript? I guess I would add the commands you've listed above in "specify settings?

try67
Community Expert
May 30, 2018

That's correct. And then add a Save command, after the Execute JavaScript one.

Bernd Alheit
Community Expert
May 30, 2018

With JavaScript you can add buttons.