andy4222 Posted November 5, 2022 Posted November 5, 2022 (edited) This Alfred workflows uses universal actions to perform different types of operations on image files Supported Operations: - Flip image - Rotate image - Convert format of image - Compress image - Get image info (Notification) - Resize image https://www.dropbox.com/s/1o40vcp5lj1w6cs/Image Operations.alfredworkflow.zip?dl=0 Shoutout to @vitor for creating Automation Tasks (AT). I was just a curious user trying to meddle with what they introduced with AT. Hopefully y'all will find this workflow useful. Feel free to suggest any more features and I'll see what I can do. Edited April 9, 2023 by andy4222 Grug 1
vitor Posted November 23, 2022 Posted November 23, 2022 Nice usage of similar Automation Tasks! I’ll note there are extraneous objects in the workflow, not connected to anything, including an empty Automation Task. The Universal Actions are configured to accept multiple files but then the connections are only set up to handle one. Automation Tasks can take multiple arguments as input. You can use an Arg and Vars Utility to pass the variable with the files to the next object, a Split Arg Utility to split on tabs. Or you can use just the latter and the Workflow Object Inbound Configuration to have a variable as input. Grug 1
bongobong Posted March 18, 2023 Posted March 18, 2023 Any chance you can make this work with finder items selected? Otherwise do I have to locate the file path in alfred?
vitor Posted March 18, 2023 Posted March 18, 2023 2 hours ago, bongobong said: Any chance you can make this work with finder items selected? It does. It uses Universal Actions.
andy4222 Posted April 2, 2023 Author Posted April 2, 2023 On 11/23/2022 at 9:50 AM, vitor said: I’ll note there are extraneous objects in the workflow, not connected to anything, including an empty Automation Task. Updated a few things. Seems to be working with multiple files. Can you please check now. Original link works
vitor Posted April 6, 2023 Posted April 6, 2023 It still suffers from the original issues. There are still abandoned objects and most connections still only take one input.
andy4222 Posted April 9, 2023 Author Posted April 9, 2023 @vitor Update the dropbox link. All operations accept multiple files now. Also removed abandoned objects. Things I tried to do differently but need help on: - The Get Image Dimension automation task accepts single input. how do i send it multiple paths, and get the output? - A lot of the object are redundant here. Especially, accepting multiple paths, setting them, splitting them and setting JSON config. Can we do something to have common ones?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now