Jump to content

A workflow similar to Alfted native file search

Recommended Posts

In Alfred, you can search files, using the ', then after which you can use the right arrow to view more options, and each options allow u to do a specific task, like Open, Browse Folder In Alfred

How do I implement this in a workflow?

For example,

Open -> New Project Query Name -> Right Arrow -> Shows a list of options -> A list like npm run dev, npm run build, deploy, etc.

Edited by uNdefin3d
Link to post

If what you want is just a custom action in the File Action list, then you need to create a workflow and add a "File Action" node (Inside the "Triggers" menu). Then set a name and connect the node to another one that will process the file the way you want it. For your example, you would need to create multiple File Action node, one for each action: npm run dev, npm build...


Or if you want to create a File Action that pop another list of actions to do (like a group of action when you select an action: Example: create a "npm" File Action that link to multiple related actions like run dev, build, deploy...), then follow @dfay link for some examples.



Link to post

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