PDF Keyword as Date

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

Moderator: Mr_Noodle

PDF Keyword as Date Tue Jul 23, 2013 3:30 pm • by cronet
Hello,

I would like to get the following scenario working:

1) Scan document with ScanSnap Software, option "set highlighted text as keyword" is activated.
Before I scan the document I will highlight the date and a keyword with a text marker. After scanning the PDF has two keywords.
2) I would like Hazel to take the keyword and look if it matches a date format.
3) Then could Hazel easily rename the pdf file in the format "matched date - keyword".

I'm fine with step 1. After scanning the document has the two keywords. I can see that with Preview.app on the "Keyword"-Pane.

I have no clou how to achieve step 2. Hazel could not recognize any of the keywords.
What am I doing wrong?

Regards,
Cronet
cronet
 
Posts: 2
Joined: Fri Jul 19, 2013 3:53 pm

Re: PDF Keyword as Date Thu Jul 25, 2013 12:16 pm • by Mr_Noodle
If you do "Get Info" on the file in Finder, do the keywords show up in the "More Info" section? Whether it shows up in Preview doesn't matter; they need to be exported and available in Spotlight for Hazel to see it.

That said, you can have Hazel automatically parse the dates within the file (so you can skip step 1). Search the help for "match patterns" or check the Buzz page as David Sparks did a great video outlining how to do it.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: PDF Keyword as Date Thu Jul 25, 2013 2:02 pm • by cronet
Thank you for your reply.

Yes, the keywords show up in finder, too.

I need to rethink step one. But with some example documents, there were often more than one date, and the first matched wasn't the right one... Because of that i got the idea to mark the right one.
cronet
 
Posts: 2
Joined: Fri Jul 19, 2013 3:53 pm

Re: PDF Keyword as Date Thu Jul 25, 2013 2:52 pm • by Mr_Noodle
You can set which occurrence (1st, 2nd, 3rd, etc.) to use.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: PDF Keyword as Date Thu Jul 25, 2013 6:40 pm • by Bryan
Cronet,

See my post at http://www.noodlesoft.com/forums/viewtopic.php?f=3&t=2273 as I had to do a great deal of what you aree looking to do. I think you may want to go into more detail as to what you are comparing the dates to. Are you just trying to determine if it matches a date format? I would hope it does as you had to manually highlight the date, so you should have already have a date in the keywords. I am not sure of the point your #2 other than as error checking. #3 is easy with A_freyer's techniques in his Custom Matching posts. See also http://www.noodlesoft.com/forums/viewtopic.php?f=3&t=2254.

Bryan
Bryan
 
Posts: 25
Joined: Wed Jan 11, 2012 4:34 pm
Location: Maryland

Re: PDF Keyword as Date Thu Nov 23, 2017 1:46 am • by Aaron456
Hello..

Does anybody know how, while making a PDF, metadata, for example, 'Title' (drawing title), 'Creator' (as in person as opposed to App) and Keywords can be incorporated?
Aaron456
 
Posts: 1
Joined: Thu Nov 23, 2017 1:34 am

Re: PDF Keyword as Date Fri Nov 24, 2017 1:54 pm • by Mr_Noodle
I'm afraid I'm not clear on what you are asking. Can you elaborate?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support