bluecorr Posted November 5 Posted November 5 I could do with some help troubleshooting my workflow. I am trying to use a File Filter to select a file (filepath of a prompt) and pass it to a Script Filter where user makes additional selections (LLM model). I want to then pass both to additional steps downstream. My setup is My problem is that the path gets pasted in the alfred window see below which is annoying and the file buffer does not clear (it eventually clears thanks to global File Search 5 min setting) My questions are: 1) how do I make sure the buffer is cleared at the end of the workflow 2) can I avoid the "pasting" inside the alfred window 3) given that this is a script filter, is there a way to select one of the drop downs *as well as extra args typed in this window* to the next Script Filter so that the last one gets the file path, LLM model selected and anything else in the Alfred window? I've not been able to find any examples (to be fair I could delegate the collection of the arbitrary text in a next workflow step so perhaps this is more of a nice-to-have.
vitor Posted November 5 Posted November 5 Why use the File Buffer? Seems like an Arg and Vars Utility would be more appropriate. But to answer your questions: 3 hours ago, bluecorr said: 1) how do I make sure the buffer is cleared at the end of the workflow The File Buffer Action has an option to clear the File Buffer. Tick the first checkbox and untick the second. 3 hours ago, bluecorr said: 2) can I avoid the "pasting" inside the alfred window Add an Arg and Vars Utility in between with an empty argument. 3 hours ago, bluecorr said: 3) given that this is a script filter, is there a way to select one of the drop downs *as well as extra args typed in this window* to the next Script Filter The Script Filter’s arg can be an array that you can then access arguments by position. Or use variables to send distinct named values.
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