
Set theItemExtensionLength to (count theItemExtension) + 1 Set theItemExtension to (name extension of itemRef) Set theItemName to (name of itemRef) as string Set theItemParentPath to (container of itemRef) as text Running this through Automator works fine but ideally, I would prefer it to export the JPGs instead of adding the step of creating the PDF only to convert to a JPG. The script below works ok in creating a PDF. Upon completion of the PDF file I would prefer to have it run another folder action (on a subfolder if necessary?) to then convert the PDF to a JPG using the Automator command mentioned but it doesn’t seem to follow that process.īelow is a script I found to output a PDF when a. If I don’t manually move the items the script won’t run properly as a folder action. I then manually drag the PDF to another folder (PDF to JPEGs) to run the Automator “Render PDF pages to Images” and then to rename finder items to convert the “.jpeg” to “.jpg” (because it bugs me). I run a script on a folder that converts.

Ideally, these would be 2 or 3 digit numbers like 001, 002, 003. This IS how it will export from Powerpoint (except for page 1 which is created with NO page number added.

pptx file with page numbers before the extension. I am also ok with it running the batch conversion on a selected folder or selected/filtered Finder items.įilenames should match the basename of the. pptx dropped in a folder is converted to a JPG file. I can’t seem to get this to work properly.
