pixelgeek Posted February 27, 2023 Posted February 27, 2023 So I assume that Action Modifiers are only available for Inputs. I have a workflow that has two steps that always run and I then have either one or two steps that I want to run conditionally (see attached image). I currently can't see any way to create a conditional branch after the first Run Script so will I have to duplicate the Split Args and Run Script or is there a way to check for a user modifier after the Run Script?
Stephen_C Posted February 27, 2023 Posted February 27, 2023 5 minutes ago, pixelgeek said: I currently can't see any way to create a conditional branch after the first Run Script Can you not check whether something is true or false, and set variables accordingly? Stephen
pixelgeek Posted February 27, 2023 Author Posted February 27, 2023 So do the split at the Input and then set a variable and then test it later with a conditional?
Stephen_C Posted February 27, 2023 Posted February 27, 2023 (edited) Yes - depending where the variables that lead to the conditional are set. There's an example in my Shrink JPEG/PNG files workflow—although that uses variables set in the User Configuration. Edit: more examples in my Get summary system info workflow. Sorry if these are too basic for your needs! Stephen Edited February 27, 2023 by Stephen_C
pixelgeek Posted February 27, 2023 Author Posted February 27, 2023 Those were quite handy. Thanks Stephen_C 1
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