Under macOS Catalina using Automator I created a Quick Action setting the workflow to, Workflow receives current [image files] in [Finder], with the following Actions:
Set Value of Variable
- Variable: [Selected Files]
Get Value of Variable
- Variable: [Selected Files]
- Options
- [√] Ignore this actions input
Duplicate Finder Items
Rename Finder Items: Add Text
- [Add Text]
- Add: _x32 [after name]
Scale Images
Get Value of Variable
- Variable: [Selected Files]
- Options
- [√] Ignore this actions input
Duplicate Finder Items
Rename Finder Items: Add Text
- [Add Text]
- Add: _x64 [after name]
Scale Images
Now repeat this again from Get Value of Variable through Scale Images set of actions three more times, changing the settings to 128, 256 and 512.
Then when you select image files in Finder and run the. e.g. Scale Selected Image(s), Service/Quick Action it will create all the files in one workflow.
As you can see by first setting a variable to hold the pathnames of the selected image files then it can be retrieved any number of times to process through the set of Actions. You just have to check [√] Ignore this actions input on each of the Get Value of Variable actions so its disconnected from the previous action so it's independent of the set of actions before it.
Note in the image below how there is a disconnect between whichever action is before the Get Value of Variable action as a result of checking [√] Ignore this actions input.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…