andy4222 Posted February 19 Share Posted February 19 (edited) Hi Alfred team, right now we can pass one argument via External Trigger (ET). Any way to pass in multiple args? I think maybe we can pass in all args in a single string and then split them, but that requires work to be done in every single workflow. Any good way to pass in multiple args? Something like: `alfred://runtrigger/com.alfredapp.abc/mysearch/?argument=test&argument2=test2` Please share other ideas/suggestions. An example workflow would be great. Edited February 19 by andy4222 Link to comment
andy4222 Posted March 21 Author Share Posted March 21 (edited) @vitorcould you please guide me a little here? Any example should work. Edited March 21 by andy4222 Link to comment
vitor Posted March 21 Share Posted March 21 You can only pass one argument with the URL scheme. Link to comment
andy4222 Posted March 21 Author Share Posted March 21 Oh, got it 🙁 . I supposed I'll have to have either decode everything as base64 or some other trick. How do I extract that one arg out though? Link to comment
Andrew Posted March 22 Share Posted March 22 @andy4222 The way I'd approach this is pass the single argument in the URL as comma or pipe separated, then add a Split Arg object after which can split this into either variables or multiple arguments depending on how you want to use it within the workflow. 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