Copy link to clipboard
Copied
I am using Adobe Acrobat DC on windows.
I have a pdf with 200 pages and each page contains information about a student. I need to turn those 200 pages into 200 individual files containing the student’s name as a file name. In order to do that, I have been creating bookmarks ( bookmark is the student's name) manually so i can split 200 files with students' names.
The location of the student is fixed. The “student name” label is on the top and the student's name is below the label.
I have been looking to automate to create bookmarks using javascript. I looked in the lot of forums to find the answer but I can not find it. I am not a programmer . i know little bit of javascript. Can someone help me if it can be done?
I was trying out different codes from the internet but it does not work.
Thank you,
Copy link to clipboard
Copied
Forgot to mention...I tried few examples of JavaScript codes in the console but so far no luck.
Copy link to clipboard
Copied
Hi @karen_3190 ,
Would you mind sharing the example codes from the Internet that were you using?
It may help in determining what was the issue when they were executed.
Also, if you can also share an example of the PDF (with no sensitive data on it), that would be helpful too.
The methods suggested by @PDF Automation Station are still valid, they combine Acrobat's built-in features, all of which use a JavaScript core interpreter to make complicated tasks easier.
But if you rather prefer to develop a script from scratch, please share the scripts.
Copy link to clipboard
Copied
There's a way to automate the bookmarks but that seems like a step you don't need because you can automate extracting the pages and naming the files. When you see bold words in my instructions they are hyperlinks to detailed instructions. Since the name is in the same location I would suggest cropping the page to that location, then extracting all the words on the page so you can use them for the file name, then reverse cropping the page to put it back the way it was before extracting that page and saving it with student's name. An alternative (but more work) is to use the highlighting tool to highlight all of the students names and then extract the contents of the annotations and the page numbers to do the same thing. You can also use these methods to automate bookmarks, if that's what you want. If you are interested in hiring a professional to develop an automation tool for you, contact me privately by clicking my icon then clicking the message button.
Copy link to clipboard
Copied
Yeah, your answer doesn't help at all
Copy link to clipboard
Copied
I answered your question. Yes it can be done.
Copy link to clipboard
Copied
I asked for help with JavaScript. Every link you provided has no help whatsoever. It's useless.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more