I print array of documents to pdf with PDF creator. They are placed in queue and queue looks like this: name1.pdf, name1.pdf, name2.pdf, name3.pdf, name3.pdf, name3.pdf and so on. Number of PDFs in queue named alike may be different. I need to merge all PDFs with the same name but not all PDFs in queue. Is it possible to create a script automating this task?