Back To Index button per bookmarked page
Hello,
I am attempting to automate the process of adding a "Back to Index" button on the first page of each section of my PDF. All the pages I want to add the button to are bookmarked. I do know that you can duplicate a button on all pages, but really I only want the button on the FIRST page of each section.
I have some coding experience, just not with Adobe javascript. I was thinking of an implementation that loops through all the bookmarks, pulling the page number they reference, and calling an "add button" function.
Is this even possible? If so, could someone guide me along they way with some pre-written scripts?
Or is there an easier way to do this?
I appreciate any help!
