Rearranging pages in Acrobat by specific keywords in the text

Dec 16, 2019

Copy link to clipboard

Copied

Thanks in advance for help anyone can give. I'm trying to figure out how to rearrange pages by keywords already in the text. For example: We have a PDF with 100 invoices for band books and want to arrange them by instrument. Using the search function, I can find every place the word "Flute, or Trumpet" appears, but I'm hoping to find a way to search for "Flute" and then move those pages together to the top of the PDF. Repeating this for each instrumentation until all 100 pages are rearranged in the order we need.

 

The only way I know of to rearrange pages, is by selecting each thumbnail (either in the thumbnail preview bar at the side, or in the "organize pages" function) and manually moving them into place. A few searches I've done lead me to think I need to use some sort of Script? I'm still in the learning phase, and don't understand yet what that means. 

TOPICS
Acrobat SDK and JavaScript, Create PDFs, Edit and convert PDFs, How to

Views

209

Likes

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

Rearranging pages in Acrobat by specific keywords in the text

Dec 16, 2019

Copy link to clipboard

Copied

Thanks in advance for help anyone can give. I'm trying to figure out how to rearrange pages by keywords already in the text. For example: We have a PDF with 100 invoices for band books and want to arrange them by instrument. Using the search function, I can find every place the word "Flute, or Trumpet" appears, but I'm hoping to find a way to search for "Flute" and then move those pages together to the top of the PDF. Repeating this for each instrumentation until all 100 pages are rearranged in the order we need.

 

The only way I know of to rearrange pages, is by selecting each thumbnail (either in the thumbnail preview bar at the side, or in the "organize pages" function) and manually moving them into place. A few searches I've done lead me to think I need to use some sort of Script? I'm still in the learning phase, and don't understand yet what that means. 

TOPICS
Acrobat SDK and JavaScript, Create PDFs, Edit and convert PDFs, How to

Views

210

Likes

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
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

Hi,

If you know the position of the word you are looking for (in a title at the top of the page for example), you can check it with a script then store the page numbers and then re-arrange the position of the pages of your document.

This is something I already did.

@+

 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

I know nothing about what JavaScritpt does, and how to use it function in Acrobat. Any reccommendations for video tutorials would be wonderful. I haven't had much luck just playing around with it in some of my practice documents. The keywords I would like to search and sort by, aren't always located in the same position on each page. Does this matter. 

 

Sorry in advance, my questions may be pretty basic. 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

So you can check all the pages where are located the word you are looking for...

Is it feasible?

@+

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

Sorry, I think this is above my understanding and current capabilities. Unfortunately all the tutorial videos I've found on how use or encorporate a script in Acrobat, are YEARS old, and are demonstrated on very old versions of Acrobat. I'm really starting from zero here. Thanks so much for trying to help me, I apparantly need to learn A LOT more. 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

Scripting on Acrobat hasn't changed in Years. Only the UI buttons have moved around. 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

Creating scripts to finding words on a page, and then rearrange those pages is possible, but it is an advanced task. To create a complete solution you'll neet to either learn Acrobat scripting or engage a developer. 

 

There are some free tools that may help you. You'll find a list of free "Acrobat Actions" here:

https://acrobatusers.com/actions-exchange

 

The very last one finds and highlights words. This at least gets you part of the way. 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

Thanks for your help - I downloaded this action, and unfortunately it does the same thing that the basic search function already does in Acrobat and adds a highlight. Maybe the action I am trying to execute doesn't exist.

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

you apparently know how to launch an action!

I already did something similar, so I'll come back to you soon.

@+

 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

What you are asking about is a complex custom sequence of tasks. Find specific words on pages, then arrange in a specific way based on sepcific words. Automating this process requires a custom script. There are not built in or off the shelf tools that will do this.

 

So, while the Acrobat search  finds words, there is no way to do anything with that data. It is in the find tool only, and not accessible to any other tools in Acrobat.

 

The Find and highlight Action marks the pages with the highlight annotation, so now you have something that a script can use. It's a starting point, not the end. 

Likes

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
Reply
Loading...
Dec 16, 2019 0
Dec 16, 2019

Copy link to clipboard

Copied

the time I translate the action...

please load the action:

https://we.tl/t-Gl0bBsXgHa

and let me know if that suit to you.

@+

 

Likes

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
Reply
Loading...
Dec 16, 2019 0
violafay LATEST
Dec 16, 2019

Copy link to clipboard

Copied

You're Awesome!! That's exactly the action I was picturing being able to do! 

Likes

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
Reply
Loading...
Dec 16, 2019 0