Jump to content

nikivi

Member
  • Posts

    985
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by nikivi

  1. I just realised that I can solve it by connecting the trigger to the clipboard so this works.
  2. I found the workflow in my library. It was this one (https://transfer.sh/LdatR/t-oneupdater.alfredworkflow). I have updated it though from your github repository. I have changed all values, here is the finished version, I hope that works, I can't really test it I think. https://transfer.sh/25Qdk/research.alfredworkflow I like the idea of keeping the .alfredworkflow in the root of the repository. Thank you for your help.
  3. I want to capture a query in this file filter of this workflow (https://transfer.sh/9V1Ep/a-search-for-content.alfredworkflow). Right now it passes a path to the file but I want to save the actual query. For example I highlight some text, press the trigger and it would do this : Then if I press on let's say 'cocoa', I want to put this 'highlight' or any other query I made into my clipboard. I am sure you can do it, just not sure how. Thank you for any help.
  4. I have a question regarding implementing OneUpdater. I want to add it to a workflow (https://www.alfredforum.com/topic/10069-search-through-web-mind-maps-i-have-made-workflow/#comment-50550) but I am not sure what values I should include in the node. I have connected OneUpdater like so : But not certain as to what values I should include. In fact I find updating and keeping my workflow updated really time consuming, I wish there was a better way. Currently if I want to update the workflow I not only have to push the changes to the GitHub repository of it here : https://github.com/nikitavoloboev/alfred-my-mindmaps But I also have to create a release and then manually change this release in the markdown. Is there a better way to do it perhaps, maybe have the markdown always link to a new release and somehow automate the creation of the release as well if possible. But aside from these issues, how do I implement OneUpdater. The question is about changing this setting : Since the download url changes with each new release, I am not sure what to include there.
  5. There are few things that do need improving. For example currently Vitor's script parses the markdown file, line by line and thus you can get results like this : Without any context. It would be amazing if it could group lines by headings and separate each new line according to the heading. So if these lines appear in the markdown like so : It would group them according to the 'depth' of the node and parents. So you would get a list like this : And thus can fuzzy search through all results and have a context of what 'mine' or any other title will mean : This would be perfect and will complete this workflow and its utility. I am not really sure how I can extend the current script to achieve this task sadly.
  6. Huge thank you to Vitor without whom this workflow wouldn't exist : You can download it from here. Or you can view the GitHub page of it with more descriptions of it. Essentially this is an Alfred wrapper over a note taking project I am making and maintaining. It allows you to instantly visit any mind map that I have made. I have been working on this project for the past month and will be updating and maintaining it with more and more quality content as time passes. To get a better sense of what kind of mind maps do exist out there, try out searching for 'alfred' or 'workflows' or 'vim' For more, take a look at the project itself and go through the interactive mind map to get more context of how everything connects.
  7. The markdown file (https://transfer.sh/TGSKP/research.md) and the workflow (https://transfer.sh/1D6lE/research.alfredworkflow). Sadly the transfer.sh file action workflow you shared doesn't work on multiple files.
  8. For some reason, I only saw this now. Thank you so much Vitor for this. I have however replaced the file path but it doesn't work. The file is on my Desktop. So I filled in the script filter like so : I tried '~/Desktop/research' without the extension too. Also I wanted to create a workflow for sharing so anyone could use it and not having to read things from some file every time you fire up a workflow. I guess you can echo it to some file in the alfred workflow directory and then read that file. Would this work or there is a better way to do it? Thank you a lot Vitor for this. This is such a time saving workflow as I very often share links to the mind maps I have made and I think it would be nice to have an Alfred interface to all my mind maps so anyone can use them and use them fast.
  9. I have this file (https://transfer.sh/mIk6a/research.md) Each line of it is either a hyperlink or just some text. Is it possible to have a quick way that will taken this markdown file, create a json struct for alfred script filter where the title is each of the line's text and the action of it is the url attached to the text? The output will then look like this (with all of the fields transferred in this way ): I looked into parsing this markdown file into a json struct (https://github.com/njvack/markdown-to-json) but that doesn't solve the issue as then I still need to have a correct json. I guess the only solution is to write some kind of custom markdown parser suited for this specific problem? Or perhaps there is some other way I can go to solve this? Thank you for any help.
  10. As the title says, I want to transfer all of these global web searches : Into one very easily extensible script filter. Reason is that I want to be able to fuzzy search on the web searches so I can search for 'travel' and 's: travel' will show up as result or search for 'compsci' and 's: theoretical compsci' will appear. If I press on this search, it will autocomplete the entry and add a space to it. So for example I search for 'travel' like so : When I press return or press tab on it, it would expand it like so : And from there on, I can type my query so I can say 's: travel europe' and it will open this page (http://travel.stackexchange.com/questions/tagged/europe). In the end, I want to scope all of my web searches to a single trigger and be able to fuzzy search through all of my web searches in this way and not pollute my Alfred global scope. My question, is what would be the easiest way I can go about doing this? I find it quite difficult to really get this workflow working. Thank you for any help.
  11. There is this amazing application called Pixave (http://www.littlehj.com/#pixave-support). It has a free trial if you want to try it out. I use it to organise all my media files. One thing that is missing from it is getting the image I want from my library really quickly, ideally from Alfred. The app stores everything in some weird format. Here is the info of the library : I tried making a file filer for it but that returns nothing as expected. What I wish is to have an Alfred workflow that would allow me to scan through the entire of my library and open the image in Pixave. So if I have an image in Pixave library with this name : Searching for it in Alfred : Would show me this image as one of the results. From then on, I and click return and get to the Pixave library with that image focused. Another thing these images have are certain subfields like URL of the image. For example this image has this url : It would be awesome if you can extend this workflow, so with a modifier press on the result from above, it would put this link into user's clipboard. This would be phenomenal to have. I don't really even know where I can start developing this workflow. How can I read and retrieve all the items from this library. How can I make them actionable? I tried messaging the developer itself but he was unaware of what Alfred was and how it works. I would be grateful for any help I can get on this. It would probably save me days over course of months as I have a huge collection but interacting with it is a pain.
  12. I would love to tweak this workflow so if I create a new timer whilst a timer is already running, it would override it. Right now it doesn't do that and just does the ringing sound.
  13. I only use it to uninstall applications to be honest. The workflow works in a very easy way, I fire it up and type in application I want to uninstall : So no, I wouldn't say it is worth its price. But I did get it for free sometime ago.
  14. I have recently updated my github repository with quite a few workflows that I use added to it. I still have quite a few to add and will update it with time but there is still quite a bit there I think. All the ones that have ✨ next to them are ones I heavily use and recommend. Each of the links is clickable too. And here it is as a live mind map. It is part of my bigger mind map where I try to document my knowledge and curations in an open and easily discoverable way. I will also add descriptions to each of the workflows and add gifs where appropriate to get a better idea of what each of the workflows can do. Hope it would be useful to some.
  15. Thank you a lot, @vitor. I will try to extend it to give a list of all the problems from all webpages. Also I am really fan of the approach of downloading these hyperlinks to some local sql database and then just reading from the database. Like this workflow does (https://github.com/lox/alfred-github-jump). Also I have a question. You use transfer.sh to share files and workflows. Do you have any handy workflows built for it? Like for example a file filter that will take a folder/file and will give a transfer.sh link.
  16. I wanted to make a list filter for Project Euler (https://projecteuler.net/archives) that would effectively give me a list of all the problems that exist on the site in a list. I can make a list filter and manually create a link and an appropriate title and put it under one list filter. Kind of how I have done here (https://github.com/nikitavoloboev/alfred-ask-create-share). However this is very time consuming. Project Euler also doesn't offer any API. Can someone recommend a way where I can get all of these problem titles and their respective links : Under one script filter. Thank you for any help.
  17. I had an idea of making this workflow for some time now. I want to have a screenshot utility that will take a screenshot created by a user, it will recognise the text in this image and put the text into the clipboard of the user. So if I was to screenshot this line from wikipedia for example : It would scan it, and put a text representation of this image into my clipboard. So in my clipboard after the scan, I will have this : I found a library that seems to do what I want : https://github.com/otiai10/gosseracts However I am not quite sure how to connect all these pieces. I can make a screenshot by issuing a screencapture -ci command. Then perhaps I need to save this image to some temporary location and then run this or some other OCR program on it and get the text I need? This workflow is specifically useful for me for grabbing text from places where text is non selectable. Like for example, I wish I could screenshot this image : And get the text from this image into my clipboard. Thank you for any help.
  18. Well although Large Type does take away focus from Alfred, it can be restored by pressing cmd + l again. I found a solution for it though. I will just use 'context' area to show the other part of my message. Thank you for your help @vitor
  19. I have a workflow action that searches GitHub. I call it with Karabiner and as a way of documentation, I show the actions as subtext to the action like so : If text is large enough, it gets truncated with .... I know I can press a modifier key and hold it and have the text I specify here appear : However for me I wish I can just show that whole result in Large Type with a hotkey. Right now pressing cmd + l would show what I have typed in the window in large type which I find pretty useless. I wish I can press cmd + l to instead show this result selected in large type. It would be really really useful for me. Can such a thing be done already perhaps? Thank you for any help.
  20. This applescript works however : on alfred_script(q) tell application "System Events" to key code 49 using {command down} end alfred_script
  21. How can I enforce a language before I make a search? For example when searching for Yandex, I want to always search in Russian there. I am nearly always in US mode and even when I am in Russian, Alfred will always enforce english language. I just want to be able to run this Yandex Search script filter in Russian language only. I tried using dispatch key code combo to simulate cmd + space, before running the trigger to the script filter but the dispatch key code didn't register the key code for some reason. Thank you for any help. This workflow is phenomenal.
  22. You can also take a look at MadRuby for this. It stimulates keypresses for you and repeats them a set number of times.
  23. So would such a thing be possible to be added? I have a very large number of workflows and I really love the idea of prefixing workflows for very fast sorting and visual distinction. I also love keeping them lowercased as personal preference. I have updated my entire list of all the workflows I use here. It is incredibly valuable for me. Here are the prefixes I use and their meaning : Right now though it is quite painful to maintain this as every time you update the workflow, the title gets reset completely. I wish there was a way to preserve the title. Thank you a lot if you do decide to implement this feature.
×
×
  • Create New...