uNdefin3d Posted November 27, 2017 Share Posted November 27, 2017 (edited) 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 November 27, 2017 by uNdefin3d Link to comment
dfay Posted November 27, 2017 Share Posted November 27, 2017 Does this address what you are looking for? Link to comment
GuiB Posted November 27, 2017 Share Posted November 27, 2017 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! Link to comment
uNdefin3d Posted November 27, 2017 Author Share Posted November 27, 2017 Not quite, but that's a start, maybe I'll explore more first. Thanks guys! @dray and @guib Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now