tschloss Posted February 21, 2018 Share Posted February 21, 2018 Hi, after browsing documentation and here in the forum I couldn't figure out how I can tell Alfred what is sent to an Output Action like "copy to clipboard" or "display large"? I have a script filter, which queries a JSON datasource and receives 6 fields. These fields are assembled to an item's title (F1+F2) and subtitle (F3/4/5/6). How can I achieve that e.g. the content of Field 5 is copied to clipboard when users hits enter on an item? Thank you Thomas PS: In my test environment "{query}" is pre-populated in the dialogue when creating the output-action, but Field 3 is received by the output action. I expected {query} to contain the letters I have entered in the Alfred input field so far. Link to comment
vitor Posted February 21, 2018 Share Posted February 21, 2018 The output of an action depends on the type of action itself. A Run Script Action will output to the next action whatever it spits to the Standard Output. A Script Filter has an arg for each item, and that’s what gets passed. Link to comment
deanishe Posted February 21, 2018 Share Posted February 21, 2018 3 hours ago, tschloss said: I expected {query} to contain the letters I have entered in the Alfred input field so far. {query} is always the output of the previous action/element that can generate output, e.g. Script Filter, List Filter, Run Script, Args & Vars. 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