Hi,
I need to assemble 2 jobs in a folder based on jobname and/or metadata.
Jobs are named like this File_<number>-Part<code>.pdf
File_1234-PartA.pdf
File_1234-PartB.pdf
File_5678-PartA.pdf
File_5678-PartB.pdf
As the job-identifier, I want to use the number in the filename. Sofar it's quite easy.
But... the part code must be unique.
So, if 2 jobs with exactly the same name arrive, they should not be assembled.
Any suggestions?
Robert
Assemble without duplicate
-
r.zegwaard
- Member
- Posts: 104
- Joined: Fri Jul 08, 2011 10:31 am
- Location: The Netherlands
Re: Assemble without duplicate
You could group the files by the number in the filename, then check that each Part code is unique before assembling. If two files have the same job name and same Part code, skip the assembly to avoid duplicates.