User:Eschaal/PPTools/Mac/MakePDFWorkflow
The Make PDF of images.workflow is an Automator service that is available only when in the finder app, that will take a folder of images and will make a PDF of those images.
This service receives selected folders in the Finder app. The service will not be available for when not in the Finder app and when the selected items are not folders. That is an advantage of using services, they are now contextual.
The first thing that the workflow does to the folders is that the Get Folder Contents action gets the contents of the folder. The option of "repeat for each subfolder found" is not checked, so only the first level of folder contents is found.
Then, the Filter Finder Items action filters the found contents to only this items that are images.
Then, the Sort Finder Items action sorts the filtered items in ascending order by name.
Then, the New PDF from Images action makes a new PDF from the images, saving it to the selected output, with the selected file name. (An option is selected to display the selected output and selected file name so they can be selected at time the PDF is made).
Finally, the Open Finder Items opens the newly created PDF.