jason0x43 Posted June 20, 2016 Share Posted June 20, 2016 In a multi-step workflow, one where Arg and Var objects separate Filters and are used to pass state from one step to the next, is there any way to go to the previous step without starting over from the beginning? For example, in the Simple Todo List project, when the user types "todo some new task" and presses Enter, the workflow moves to a Filter object, using the output of the initial script filter as input. Is there an easy way to return to the previous state, where Alfred is back on the previous Script Filter with a query of "todo some new task"? I know you can just re-open Alfred and press "up" to use history, but that doesn't work so well if you're 2 or 3 steps into a more complex workflow. Link to comment
deanishe Posted June 21, 2016 Share Posted June 21, 2016 No, there isn't. If you want to do something like that, you have to manage the state and flow yourself. Link to comment
jason0x43 Posted June 21, 2016 Author Share Posted June 21, 2016 Hmmm...I had a feeling that was the case. A looping construct of some sort would be nice, some way to store a script filter's output (like in a var) and feed it back in, along with the query arg. Link to comment
deanishe Posted June 21, 2016 Share Posted June 21, 2016 You can currently only loop by calling Alfred or an External Trigger via AppleScript. If you need to pass more than one variable, you can pass a JSON string or cache the variables to disk. Link to comment
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