This content has been marked as final. Show 7 replies
You will want to locate the "Print All Bookmarks" batch sequence example file and modify the code to add the page number for each bookmark.
The "List all Bookmarks" sequence batch file I mentioned above seems to take all the bookmarks from a file and export them to a separate PDF (which is great) but I don't know what to add or change in that sequence file to have it export the page numbers as well. Is the "List all Bookmarks" different from the "Print All Bookmarks" you mention? If so, where do I find that? Finally, any suggestion on what needs to be added or changed? Is there a / switch or a /param that I need to add or something like that? Thanks!
Hi Ariel, if finally you do decide its worth paying for, contact me by email.
I took a stab at fixing up your script over at Acrobatusers.com where you asked this same question- check it out and see if it works for you
As an aside, most of the same "experts" that answer questions on one Acrobat forum also answer on the other ones too. So while asking the same question or pasting it into several forums may seem like a good idea to you to get a quicker answer, it can also be seen negatively and lead to getting no answers. Just my 2 cents from my forum experiences over the last few years.
Hope this helps,
Thanks for your help. I just responded over at acrobatusers.com. The only reason I posted at acrobatusers.com was the two responses I got on this forum were so far off (the first pointed me to the sequence file I referenced in my question and did nothing about the page number issue and the second offered to sell me assistance which I had explicitly said in my post that I could not buy) that I lost faith in this forum and looked elsewhere. You were the first response I received at acrobatforums and your answer was spot on. In the future, if I am looking for help, I'm going to just skip this forum and only use acrobatusers.com. Thanks again!
a very nice solution to get the page number via bm object:
- bm.doc.pageNum +1
I thought up to now I could get the page number only via execute bm - -- or pdftk ;-).
Thanks for publishing the code,
You can use
bm.doc.pageNum + 1;