jiku Posted February 1, 2013 Posted February 1, 2013 Is there some way to 'chain' workflows? I.e. in workflow 1, use workflow 2 via something like keyword + query, then have results fed back into workflow 1? Teo 1
jdfwarrior Posted February 1, 2013 Posted February 1, 2013 Right now, no, you can't chain them together. I'm unclear with what you are trying to accomplish but depending on what you are looking for you could: 1. You could create a workflow with a keyword + query via a Script Filter input to feed results back into Alfred and then action those items with a script. 2. If it is definitely a way to link a selected result to another action, you could do that with Applescript. In the generated feedback results, you set the argument that is passed to the next step. You could set it accordingly, and have that pass to a "Run Applescript" action that would.. tell application "Alfred 2" to search "<your arg>" That would show Alfred pre-populated with whatever came after the word search in the Applescript. So, you could set it to run another workflow by setting part of the argument to be the keyword for the next workflow. Does that make sense or help at all?
jiku Posted February 2, 2013 Author Posted February 2, 2013 Thanks a lot. I think I can get somewhere with that, combined with something like tell application "System Events" to keystroke return.
ravettb Posted April 10, 2015 Posted April 10, 2015 Yes, but chaining would be MUCH easier. In addition, if you look at *sophisticated* macro programs like, e.g., Keyboard Maestro, with those you can go INTO AN APPLICATION and make menu choices, etc. WHY can't we do this in Alfred?? No, I do NOT want to write Applescripts. No, I do NOT think that Alfred shouldn't be able to do this, when there are several programs out there that will. I used to be a programmer, back when linear programming was pretty much it. So, yes, I *could* learn Applescript. But *WHY* should I? Believe it or not, I have a life now, and it does not include programming beyond relatively simple macros such as those in KM above. Applescript has a learning curve that I simply don't have time for now.
jdfwarrior Posted April 11, 2015 Posted April 11, 2015 Yes, but chaining would be MUCH easier. In addition, if you look at *sophisticated* macro programs like, e.g., Keyboard Maestro, with those you can go INTO AN APPLICATION and make menu choices, etc. WHY can't we do this in Alfred?? No, I do NOT want to write Applescripts. No, I do NOT think that Alfred shouldn't be able to do this, when there are several programs out there that will. I used to be a programmer, back when linear programming was pretty much it. So, yes, I *could* learn Applescript. But *WHY* should I? Believe it or not, I have a life now, and it does not include programming beyond relatively simple macros such as those in KM above. Applescript has a learning curve that I simply don't have time for now. This was an old thread. Workflows can take advantage of portions of other workflows by using external triggers within Alfred.
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