Jump to content

Output: how to define what is being sent to output action?


Recommended Posts

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
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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...