Jump to content
uNdefin3d

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

Share this post


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.

 

Best!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...