Jump to content

How do I make arguments appear as sub options?


Recommended Posts

Hi surrealroad

If you're interested, you have a glimpse of my Mail Actions workflow that does something similar. There is also another excellent workflow (can't find it right now but I'll look) which does something similar.

What my workflow does is filter the options, it won't really highlight it though.

So very succinctly, Workflow keyword show every option, then type additional args which will filter the list. In your case, typing "wo" would show only the Words entry.

Not sure I made myself clear, but let me know if you need help with this.

Link to comment

Hi surrealroad

If you're interested, you have a glimpse of my Mail Actions workflow that does something similar. There is also another excellent workflow (can't find it right now but I'll look) which does something similar.

What my workflow does is filter the options, it won't really highlight it though.

So very succinctly, Workflow keyword show every option, then type additional args which will filter the list. In your case, typing "wo" would show only the Words entry.

Not sure I made myself clear, but let me know if you need help with this.

 

 

I'm trying to make a workflow that's functionally similar to the lorem ipsum one. I like the way the Lorem Ipsum shows the sub-options, however, typing an argument doesn't actually highlight the option. Is there a way to build a workflow that does both?

 

2zh2h75.jpg

 

Pedro, thanks for helping. :)

 

Surrealroad, sub options are created by using a Script Filter in a workflow. These can be found in Input section when adding modules. Basically, you generate XML that is used to show actionable feedback items in Alfred. See documentation on the XML here. To make them highlight and filter down based on what you are typing, you would have to make your script, filter the XML based on the input. So your Script Filter item would read the user input, then based on that, generate the correct list of XML items to show in Alfred. Those XML items have an argument attached to them that can then be passed to the next item.

 

Let me know if you need any more explanation or help.

 

Thanks

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