Hi All,
I've forked this macro to convert WebP files that are saved into my Downloads folder and then convert them to JPG. The macro then moves the JPG file into a subfolder within my Downloads folder (i.e., _webP2JPEG).
My first question is, should I just start a new forum topic, or is it appropriate to extend this existing one?
Assuming it is okay....(if not, I'll move this into a new topic later).
Here's a bit more context for the problem I'm trying to solve.
The image file conversion portion of the macro works fine. THANK YOU all for creating the original macro.
I would like to try and make my forked macro a little more efficient so that it only evaluate files with a WebP extension. I'm noticing in the Engine log that it appears to be processing the entire contents of my downloads folder each time a file is saved there.
My concern is I've noticed that I'm getting a lot of failed messages captured in the Engine.log. I do not have great 'file hygiene' within Downloads. It is basically my junk drawer.
I'm using a "For each item in collection" action with the folder collection by date added, with "Reversed selected", and I've also run it with "Reversed deselected". I'm not seeing any difference in the behavior of the macro.
What I'm trying to do is test each entry in the Folder Contents collection to see if it's a WebP file and then process that file. I'm assuming, since it's the newest file added into the Downloads directory, that the sort order by date added would put that at the top of the stack. It does not appear to be working that way.
There are approximately 50 entries in the Engine log each time this macro is run regardless if I have "Reverse" option selected in the "by date added" attribute of the "for each item in a collection" action.
Engine.log content
2026-03-19 07:21:57 Execute macro “WebP to JPEG from Download to _webP2JPEG” from trigger Anything is added to folder “~/Downloads” (ignoring partial or changing files)
2026-03-19 07:21:57 Failed to get sort for /Users/username/Downloads/.jpg
2026-03-19 07:21:57 Failed to get sort for /Users/username/Downloads/
2026-03-19 07:21:57 Failed to get sort for /Users/username/Downloads/
and this patter repeats for ~50 entries
macro screenshot