Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

macstatic

macrumors 68020
Original poster
Oct 21, 2005
2,024
164
Norway
I'd like to create an Automator Service which allows me to right-click an image, and have a PDF with the same filename as the original (but with a new file extension of course), and saved in the same location as the original file. The image file should be left untouched.
This would be a huge timesaver as opposed to double-clicking an image file (which opens it in Preview), then choose "Export as PDF", taking care to remove the original image extension before saving.

It's easy enough to do this in Automator using the "New PDF from images" action (as described in this how-to guide), but it saves the file in a specific folder (instead of wherever the original file is located) and under a specific filename (instead of using the same name as the original). How can I solve this?
 
Open the image in Preview app ; File scroll down Export (your choice) or Export to PDF. I do this on a regular basis when dealing in my documents I download.
 
What I do is:
  1. Right click image
  2. Scroll down to Quick Actions>Create PDF
  3. Move on with my life

Cool! 👍
I didn't even know about Quick Actions until now. It would be nice to have everything in the same place (i.e. Services) as I tend to forget about these things I don't use every day, but this definitely works.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.