Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rename file with it's contents (pdf)
#1
Hello, I need to rename like 1000 pdf's. They need to be renamed with the contents of 2 fields, and the date. It's gonna be a pain in the ass to do this by hand, so tell if it's possible to do the following.
I have files with names like: 2_CS_08.2015_August_2015
and they need to be renamed to: [País]_[Empresa]_[Year]_[Month]
So in the image, the file should be renamed to: China_Kengic_2015_08
Is there a way to do this? Thanks in advance.


Attached Files Image(s)
   
#2
Should be possible, but difficult.
If your pdf program can extract pdf text to a text file, your macro can then find text in these files...
Also there are programs, plugins and programming libraries for pdf text extraction.

https://www.google.lt/?gws_rd=ssl#q=ext ... m+pdf+file
http://stackoverflow.com/questions/3650 ... from-a-pdf


Forum Jump:


Users browsing this thread: 1 Guest(s)