Macro to combine pdf files

Hello everyone,
I am new to this forum and new to Keyboard maestro... very excited.
obviously, I mean the need to automate my daily tasks and obviously I need help. Thanks to everyone in advance.
I have a simple redundant task that I am trying to automate:
I have a folder that gets filled up with scanned PDF files and at the end of the day I need to combine them into one file, rename it and delete the original files and just leave the new renamed file.
So far, I have been able to get keyboard Maestro to get to the folder, select all files and then right-click. Next step is to use the right-click menu to go to quick actions, and then to create PDF but I can't seem to figure out how to do that...
Unfortunately, my knowledge of AppleScript is zero... so I am pretty much at a beginner level.
Any help would be highly appreciated.


Thank you

Bassman

I’m not sure how to do that in Keyboard Maestro directly.

pdfunite which is part of poppler can do that on the command line:

pdfunite FILE001.pdf FILE002.pdf FILE.pdf

merges all pages from FILE001.pdf and FILE002.pdf (in that order) and creates FILE.pdf

You can install poppler with brew.

I’d be happy to help with that if necessary, but I’m hoping someone might come up with a more “native” Keyboard Maestro solution.

1 Like

btw, for the combine, you can use Automator:

Combine PDFs.zip (247.2 KB)

from here:

1 Like

Thanks