Search for keywords in PDF?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Search for keywords in PDF? Fri Oct 12, 2018 11:34 am • by Drummerkolle
Hi everybody, hope you are doing great!

I have a (pretty simple?) question about values and keywords...
If I want to read the content of a PDF and want to save some keywords for later file renaming, can I do that somehow?

Let's say I have an invoice and want to get the word "invoice", the date and several keywords (the vendors) to change the filename.

I could do it with a match any and then simply list all the vendors, but this would become a problem.
Since I search for a date, basically every document would match that rule...

So I need something like this:

Match all:
Content has Date
Content has "Invoice"

Match any:
Content has vendor1
Content has vendor2
...

Or is there a way to do that over a filter in the rename function?
I found keywords in other (which is broken in the dark mode for Mojave btw.) and I can not figure out, how to use it and if that's really what I'm searching for...

Any ideas or nods in the right direction?

Thanks a lot in advance!
Drummerkolle
 
Posts: 2
Joined: Fri Oct 12, 2018 11:22 am

Re: Search for keywords in PDF? Mon Oct 15, 2018 10:26 am • by Mr_Noodle
I'm not fully grasping the problem here. Can you provide some examples?
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Search for keywords in PDF? Mon Oct 15, 2018 5:06 pm • by Drummerkolle
Actually it's quite similar to the post that came up after I wrote my question, but it did not provide an answer really...

viewtopic.php?f=4&t=10001

I want to process invoices and want to save them with the vendor name in the title.
So if the PDF content has the keyword "amazon" I want to save it like "2018-10-15 - Invoice - Amazon.pdf"
But the list of vendors can be pretty large, so a manageable list of keywords would be great.

I could co a contains match in an any function, but this would be pretty big, also I can not tell, which keyword I'm searching for unless I name the values like the vendor.

To show the broken Dark Mode bit, see the screenshot here:

https://www.icloud.com/iclouddrive/0BwA ... 5_um_23.00

Thanks,
Drummerkolle
 
Posts: 2
Joined: Fri Oct 12, 2018 11:22 am

Re: Search for keywords in PDF? Tue Oct 16, 2018 10:34 am • by Mr_Noodle
Yes, that dark mode issue is a known problem and should be fixed.

If there is no pattern to where the vendors appear in your documents, then you will probably have to resort to multiple rules. You could write a script to handle this as an alternative.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support