Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by pier

  1. So right now the preview window of the clipboard allows you to see enough to know what's in the entry, but it's not so great for consultation. For example what I often do is that I copy bits of code that I only want to use as reference, but since reading those in clipboard preview is difficult (small text, broken lines, etc) I'm forced to paste the contents somewhere else. So my feature request would be to be able to customize the preview window (larger space, larger text) or simply make it bigger by default.
  2. Would adding the alfred:ignore tag to a folder make Alfred ignore all the files and subfolders too?
  3. Sorry for reviving an old thread but this is the first Google result on the matter. Would be awesome if there was a way to define a dynamic ignore. For example I'd like to ignore all node_modules folders which are created on every new JS project. AFAIK there is not really a way to do that in Spotlight either, but it would be awesome if Alfred could solve this.
  4. Thanks all for your support and the nice conversation.
  5. Um I'm not following you. We are talking about Nodekit, right? Yes I could just node whatever.js but the problem of distributing workflows that use node would still persist. On a side note. Is there a way of showing a message to the user from the workflow and inform Node is needed?
  6. How could I? AFAIK this would have to be compiled with Alfred's code.
  7. It is indeed. We used React in 2016 and this year we are moving all our new projects to Vue.
  8. Because @deanishe basically said "I don't like JS" and I simply insisted that Nodekit would solve the problems stated earlier about using the Node API from scripts in Alfred.
  9. Sure, but it would solve many of the issues about trying to make Alfred work with Node.
  10. You are of course technically correct, but I feel since Node and NPM entered the scene we are in a new JS renaissance that it's still trying to trying to define itself. I don't mean the language itself but the whole development process. Maybe I'm delusional, but I think (I hope) we should reach a maturity plateau in a couple of years.
  11. Hey guys I just found this: https://nodekit.io/ relevant to the discussion about Node. It's a cross platform Node replacement that uses the JS engine provided by the OS so it provides a very lightweight implementation of the Node API. The motivation page gives a bit more of insight.
  12. If your app doesn't use Node you use this https://github.com/francoislaberge/shrinkray (macOS only) JS is in a teenager phase like PHP was 15-20 years ago. Hopefully it will mature and learn from its mistakes if Web Assembly doesn't kill it...
  13. Yes I'm aware of that. I'm not suggesting Node should come bundled with Alfred by default. Workflows could define a Node dependency so that Alfred could install it for the user. As for the technical work I really can't say how intricate it would be but other projects like Electron have already solved that. But Alfred does define the workflow specifications. Hence if a workflow could say "hey I need Node", Alfred could in principle download it for the Alfred user.
  14. Thanks @deanishe It would be awesome if Alfred provided an easy to distribute workflows that use Node instead.
  15. I'm wondering what kind of features are available in the JS engine used by Alfred. Can we use ES6, async/await, fetch(), etc?
  16. Hi everyone! Is it possible to customise the list of actions that appear after pressing TAB? I mean this menu: http://i.imgur.com/FZRFJeV.png
  17. Sorry to revive such an old thread. I understand Andrew's points. But, if it's possible to do the filtering via a script on a workflow for advanced users, why not add a more advanced filter UI in the File Filter workflow object? Right now it's only possible to filter by file type. It would be very handy to be able to filter with names. For example to exclude "node_modules" folders.
  18. Hi everyone I've created a workflow for easy access to Google Apps (Gmail, Docs, Sheets, Calendar, etc). See Github for the full list. https://github.com/PierBover/AlfredWorkflowGoogleApps Enjoy
  19. So I'm following this tutorial to make my first python workflow. Right now I only want to type a keyword, invoke a python script, and get anything in the Alfred results. So I have created my workflow, created an input script filter with /bin/bash code python my_file.py In my_file.py (which is in the workflow directory) I have this # encoding: utf-8 import sys from workflow import Workflow, ICON_WEB, web def main(wf): wf.add_item(title = 'something') wf.send_feedback() (I have indented the code with spaces) Then I write my keyword on Alfred but I get nothing, just the defaul
  20. Hi Sorry to bring up an old post. I'm using the workflow solution to search only for folders, but I think it would be a better solution to be able to dismiss files in the default search results. 90% of the times I search for folders and not files. Pressing 'space' twice is the fastest shortcut of all and having to use a different shortcut for the general case is counterintuitive to me. It would make more sense to be able to search only folders by default and files with a special command. I understand my case is not necessarily the general user case, but having a "Show only folders" check
  21. In other words, is it possible to create a workflow that instead of using a keyword grabs some info from a data file, and then inserts results in the default searches?
  • Create New...