I typically have multiple documents of different types (docx, pdf, png, jpg) that need to be combined into a single PDF file. For example, I have the following files right now in the directory:
DeclarationForHearing20180512.docx, ExhibitA.pdf, ExhibitB.png, ExhibitC.jpg, TestimonyWitness1.docx, Evidence212232.pdf, etc...
I need to combine these into a single PDF file. Right now, I go into each Word doc and export it as PDF. Then I convert all the image files (png, jpg) into PDFs by printing to a PDF printer. Then I use PDFSam Basic to merge all the resulting PDFs into a single one.
As you can probably tell, this is a tedious procedure. Ideally, I'd like to write a batch file (or similar: powershell or vbs) that looped through the files in the directory, did all the necessary conversions, then merged into the final document.
Is it possible to do something like that?