tiff,word convert to pdf with statistic filename

New Here ,
Mar 27, 2018 Mar 27, 2018

Copy link to clipboard

Copied

Ik wil duizenden documenten (TIFF,Word) gaan converteren naar PDF.

Echter moet de outputnaam volgens een bepaalde standaard zijn, bijvoorbeeld:

123456_123456789
123456_987654321
Het getal achter de underscore moet altijd 9 posities bevatten.
Bevat deze waarde minder dan 9 karakters, dan dient het te worden opgevuld met voorloopnullen totdat er 9 posities zijn.

Voorbeeld:

Input                                        Output

123456_123456789.tiff          123456_123456789.pdf
123456_12345678.word        123456_012345678.pdf

654321_321.tif                        654321_000000321.pdf

Is hier een script voor?

TOPICS
Acrobat SDK and JavaScript, Windows

Views

71

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
community guidelines
Most Valuable Participant ,
Mar 27, 2018 Mar 27, 2018

Copy link to clipboard

Copied

You can do it using an Action in Acrobat Pro. However, it can't rename the files, only save a new copy under the new name.

So the first step would be to convert the non-PDF files to PDFs (it does that automatically), and save them using the original name, and the next would be to use a script to identify if zeros need to be added, and if so save a copy of the file under the new name (and maybe under a new folder).

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
community guidelines
Most Valuable Participant ,
Mar 27, 2018 Mar 27, 2018

Copy link to clipboard

Copied

PS. Acrobat can't process thousands of files in a single process. You will probably have to do it in batches.

From my experience 500 files is about the maximum Acrobat can handle, and that depends on many factors, like the size and complexity of the files, the specs of the computer, the version of Acrobat (XI is much better than DC), etc.

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
community guidelines
New Here ,
Mar 27, 2018 Mar 27, 2018

Copy link to clipboard

Copied

Hartelijk dank voor u reactie.
Het omzetten van bestanden met Acrobat Pro is me gelukt, echter ben ik op zoek naar een script die de output genereerd die ik boven heb omschreven.

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
community guidelines
Most Valuable Participant ,
Mar 28, 2018 Mar 28, 2018

Copy link to clipboard

Copied

Stuur mij een email naar try6767 at gmail.com. Ik kan zo'n script voor u schrijven.

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
community guidelines
New Here ,
Mar 28, 2018 Mar 28, 2018

Copy link to clipboard

Copied

Mail is gestuurd

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
community guidelines
New Here ,
Mar 28, 2018 Mar 28, 2018

Copy link to clipboard

Copied

I don't pay any money for your service try67

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
community guidelines
Most Valuable Participant ,
Mar 28, 2018 Mar 28, 2018

Copy link to clipboard

Copied

LATEST

No problem. Good luck with it...

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
community guidelines