Hi, I have 4 or 5 folders on the desktop with around 20 Jpeg images (plus a couple of webarchive files) in each. I don’t want the images at original size, so I currently open each folder in turn, select only the images, right click and resize them using the installed Quick Action - Resize photos facility.
What I would like to be able to do, is select all 5 folders at the same time from the desktop, and resize all the images at once, whilst ignoring the webarchive files.
I have a very basic level of AppleScript knowledge, so I was hoping to be able to edit the installed Quick Action to do this but am failing massively. Is this possible please?
You don’t mention if the Quick Action should be created with Automator or Shortcuts. If Automator, the following should do what you want:
Open Automator and create a new Quick Action.
In the upper-right corner, change two settings to read “Workflow receives current folders in Finder.app”.
Add “Get Folder Contents” from the Library.
Add “Scale Images” from the Library.
Save the Quick Action workflow.
After doing the above, as a test, I selected several folders in Finder and selected the Quick Action I just created. All of the images were resized. Web archives should not be changed.
Automator does have a Filter Finder Items action and applicable settings include Kind and File Extension. My suggested Quick Action workflow only scales images, but the OP could use Filter Finder Items with extension to further restrict the images processed.