Jump to content

Universal action in workflow's script filter


Recommended Posts

To be honest, I don't understand how I can use universal action in scriptfilter.

 

I read below documents several times,

 

https://www.alfredapp.com/help/workflows/inputs/script-filter/json/

https://www.alfredapp.com/help/features/universal-actions/

 

and I understand universal action is how powerful feature.

 

but unfortunately, I don't get how can I use universal action in scriptfilter.

 

I added 'action' to my script, nothing changed.

 

By any chance, Is there a workflow example developed with 'action'?

 

I'd appreciate it if anyone could help me understand this.

 

 

 

 

 

Link to comment
1 hour ago, jopemachine said:

I don't get how can I use universal action in scriptfilter.

 

What do you mean by "use […] in a Script Filter"? How "use"? What exactly are you trying to do? The normal way to action a Script Filter result is using → or ⇥

 

1 hour ago, jopemachine said:

I added 'action' to my script, nothing changed.

 

What does that mean?

Link to comment
13 minutes ago, deanishe said:

 

What do you mean by "use […] in a Script Filter"? How "use"? What exactly are you trying to do? The normal way to action a Script Filter result is using → or ⇥

 

 

What does that mean?

 

Documentation said I can forward to scriptfilter's script 'Action' value like below.

 

"action": { "text": ["one", "two", "three"], "url": "https://www.alfredapp.com", "file": "~/Desktop", "auto": "~/Pictures" }

 

and I tried to forward above value to my scriptfilter.

 

Then what is the result that I can expect from this?

 

Link to comment
48 minutes ago, jopemachine said:

Documentation said I can forward to scriptfilter's script 'Action' value like below.

 

The documentation does not say "forward". What do you mean by "forward"?

 

Please try to use normal Alfred terminology or be more specific (e.g. "press ↩ on a result").

 

48 minutes ago, jopemachine said:

Then what is the result that I can expect from this?

 

The action field is the value that is passed to Universal Actions when you use Show Actions on it (hit TAB by default) instead of arg.

Link to comment
43 minutes ago, deanishe said:

 

The documentation does not say "forward". What do you mean by "forward"?

 

Please try to use normal Alfred terminology or be more specific (e.g. "press ↩ on a result").

 

 

The action field is the value that is passed to Universal Actions when you use Show Actions on it (hit TAB by default) instead of arg.

 

Sorry for my bad english,

 

I meant that I didn't understand how can I use Universal Actions in result.

 

`The action field is the value that is passed to Universal Actions when you use Show Actions on it (hit TAB by default) instead of arg.

 

-> This became my question's answer, thank you for your answer :)

 

 

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