Jump to content

nikivi

Member
  • Posts

    985
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by nikivi

  1. I have published an Alfred Workflow that allows you to search various curated mind maps I have made. It also has an option to just search for study guide learning mind maps that provide the best resources one can take to learn the subject in a guided manner. In future, this will cover every topic one can learn and if you want to improve and change it, you can. Here is the GitHub repository of the workflow and here is the direct download of it. I hope you enjoy it. The cool thing is that if you dislike something or disagree with the way they are structured, you can propose the changes you want to make and thus everyone benefits.
  2. I am trying to create a new workflow which would parse the markdown file and take into the account the nesting of headers like I outline here. I am curious, would it be possible to add the annotations that I have below the headers and add them as subtitles to the 'script filter item'? So I will get something like this as result : And if I press some modifier key, it would show me the subtitle of the item which will be the full description that is attached to the link. This one : Here is the markdown file of links and descriptions.
  3. What I do is hide all useless menu bar items with Bartender (all menu items that bring no value and just take up space) and then split my menu bar into two parts. One that I can bring up with a hotkey press which contains most important menu items. The dark bar in the image : And the other just stay in the menu bar itself which can be seen by dragging the mouse to the top. I like to hide the menu bar all together as it is distracting : Also I use this menu bar trick with BitBar very heavily. I even have it implemented so that it will take some arbitrary text (like a task from 2Do) and it will send this text to BitBar to update it. Here is Keyboard Maestro macro that does this (the regex is needed to strip some text and for it to be BitBar friendly) : This sends any task I highlight to BitBar so my menu bar gets updated with new task. I then use Hammerspoon to display it briefly on my screen like so : Here is the code that does this. I also have a macro that resets this menu bar text : It's actually quite useful.
  4. If there is not much text to show, it would be nice if it was enlarged. Right now I feel the font size is too small.
  5. This is really great but once again this issue of it always opening in 'three pane' mode
  6. Quite often after some time of using Alfred, it starts to glitch out. That is, it will often show the window after hotkey is pressed but sometimes it won't or open it and then immediately close it without me doing anything. I made a screencast of it when it was in this bugged out state : http://quick.as/l91Xf0Q3k Also it is very clear to me when it is in this state as the launcher window usually briefly flashes the results of Alfred and then disappears.
  7. For the spacing, I actually like spacing it out a little just as preference, I get a better idea of what is going on. And 't:' is a prefix that I use which stands for 'tools'. I find prefixing workflows a lot nicer for organisation than alfred's native 'Category' feature. This way I can quickly search for what I am looking for. For example, one of my prefixes is 'a:' which stands for 'my workflows. I can then do this : And filter for workflows that are mine. Or search for the workflow quickly with the 'alfred workflow' : It's mostly because I have a lot of workflows and I wish to find the workflow I am looking for very fast. I document my prefixes here (https://my.mindnode.com/H1ejGz58APafNWf3s9MiD9E3CSpkxPTKapJSiNkA) amongst other things. I know it's a bit hard to follow currently but I hope to make it more clear in the future. For example here are hotkeys and prefixes that I use for Alfred Preferences. The prefixes are indicated by the pointing arrow.
  8. Also, I am trying to make a simple trigger that will pass a url into a script filter, like this : But I really dislike that I have to confirm on my action as I pass into the script filter. I wish I can just pipe my url into the script filter and it would instantly start downloading in my chosen folder.
  9. Is it possible to start downloading a youtube video on desktop and immediately start watching it as it downloads the rest of it so that you don't have to wait fully for it to load to then watch? I remember in Transmission as it downloads torrent files in chuncks, you can start watching the video before it fully loads, would be amazing if you could the same here and prioritise the beginning parts of the video to load first.
  10. Hey @dfay, what do I pipe to the clipboard? What input goes into the file filter, the only thing that comes out is a path of a file. I have a file filter that allows me to search through all of my MindNode files and gives a dynamic list of files that have the {query} in them. Like so : After the file filter I can copy the output to the clipboard, but that output is a path that corresponds to a file. I need the words query I typed, 'script filter' in this case. I can create an intermediary empty keyword trigger, get the query, pipe it to clipboard and then pipe it to the file filter but that is really bad as I want to see files for what query that I type immediately. I hope this clears up what it is I want to achieve. And I did look into @vitor's script, but I thought it just watches a folder for files. It does't really do what I want and also it's a bit slower on startup. I am sure it should be possible to get this word query from the file filter, I can see many use cases where one can need it. Oh, and selecting my query and copying it before actioning on a file does work, the problem is that I use this action very often and it is very annoying to have to do this every time. Here (https://transfer.sh/132YYB/search-for-content.alfredworkflow) is the workflow.
  11. Can someone guide me in a direction in which I can write my own file filter? It seems really silly that there seems to be no way to get a word query from a file filter.
  12. I use this script so often. Just wanted to say thank you for sharing it.
  13. I had an issue with a workflow I made where I need to capture a query made to a file filter. That is I activate a file filter and type something and get some files as result : I wish I could save this 'alfred' word into clipboard so that I can then use it later. I have started a thread with this issue here (https://www.alfredforum.com/topic/10086-how-to-capture-query-made-in-a-file-filter/?do=findComment&comment=50828) but no one could give a solution to it so I assume the only choice is to make a file filter of my own but I doubt I can make it as fast as Alfred's.
  14. Perhaps I should move this topic into 'feature requests' section. I rely on this action a lot in my workflow but I really don't have any idea as to how I can find a solution to this. Another option is to look into building a file filter of my own but my request seems like such a trivial thing to add and Alfred's file filter is staggeringly fast. I doubt my implementation would be as fast.
  15. So I suppose there is no way to capture this query from the file filter?
  16. Here is the metadata for the file : /Users/nikivi/Library/Mobile Documents/W6L39UYL6Z~com~mindnode~MindNode/Documents/research/math.mindnode Internal File Metadata ====================== Display Name: math Alt Names: math.mindnode File Type: com.mindnode.mindnode.mindmap Comments: Keywords: Last Used: Raw mdls File Metadata ====================== _kMDItemOwnerUserID = 501 kMDItemAlternateNames = ( "math.mindnode" ) kMDItemContentCreationDate = 2016-12-12 00:36:11 +0000 kMDItemContentModificationDate = 2017-03-06 22:26:55 +0000 kMDItemContentType = "com.mindnode.mindnode.mindmap" kMDItemContentTypeTree = ( "com.mindnode.mindnode.mindmap", "com.apple.package", "public.directory", "public.item" ) kMDItemDateAdded = 2017-03-06 22:26:55 +0000 kMDItemDisplayName = "math" kMDItemDocumentContainer = "research" kMDItemFSContentChangeDate = 2017-03-06 22:26:55 +0000 kMDItemFSCreationDate = 2016-12-12 00:36:11 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 8208 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 1 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "math.mindnode" kMDItemFSNodeCount = 5 kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 27050278 kMDItemFSTypeCode = "" kMDItemKind = "MindNode Document" kMDItemLogicalSize = 27050278 kMDItemPhysicalSize = 27148288 However it did come back and appear on the results. Not really sure why. I am certain it wasn't there before.
  17. I have a file filter that scans MindNode files It is working really well however it doesn't show all options. For example I have a file named 'math' of this format in the folder : However when I search for 'Math' in my file filter I don't get the option for this file : If I scroll down, there is no 'math' file there either. This is certainly a bug and is not intended behaviour. Can this be fixed please?
  18. I stand by EggTimer. It's really great for this task. If interested I wrote a little article where I briefly mention how I use it in combination with other apps. Hope you find it interesting.
  19. The only way I see to solve this is this : Where I first activate keyword, capture my query, put it to clipboard and then with that query I go to file filter. Although this is really hacky and bad since I have to press return twice. Also if I do decide to change my query whilst in the file filter, the clipboard will have the old value. I wish there was an easier way to do this and get the query straight from the file filter if possible.
  20. I also added some information on how I approach building workflows : https://my.mindnode.com/Zqykr8ousaj7ZFRihhb48F1FynqX89wj9YK731mq Here it is as image : Maybe some will find it useful. I sure would appreciate if I have found this when I only started out making workflows. I will also expand on this with time as I get more experience and maybe split it into development and publishing sections.
  21. Hey @Vero, The issue is not the saving of the query I get but actually getting what I type into the file filter out. Since what I write in the file filter gets passed onto to somewhere I don't know, all I get is the path of the file in the end.
  22. Actually sadly that only solves the 'selection in macOS' trigger. If I do actually do want to make a search from an external trigger, it doesn't save the query. How can I save a query from there if I can? Here is the workflow at its current state : https://transfer.sh/c2BJI/search-for-content.alfredworkflow Thank you for any help.
  23. I've been a big user of both KM and Alfred for quite some time now. One thing that I love about both of these tools is how they can supplement each other. For example you are forced to using your mouse to create objects in Alfred Preferences. I hated that. So I created macros to help me create objects in Alfred from KM either through keystrokes or searching for an action directly from Alfred (https://github.com/iansinnott/alfred-maestro). Here is a quick screencast of it in action : http://quick.as/4YyZioqQB I will publish quite a lot of these little macros on my GitHub page soon. I am also self documenting my own workflow in form of mind maps. I still have a lot to fill for it but with time I will have everything documented. For example here are ways in which I utilise my applications: https://my.mindnode.com/H1ejGz58APafNWf3s9MiD9E3CSpkxPTKapJSiNkA And here is how I utilise Karabiner and its keyboard customisations : https://my.mindnode.com/aGPrpzjuxth5dqytYpTzts9PZWKMFydgGt1Sjddz I hope some find it interesting.
  24. Now that I think of it, you can actually create a pretty handy library of actions this way in KM, and then all you need is to call an applescript of it.
  25. As a note, perhaps someone does use Keyboard Maestro here. I really like how I can combine KM and Alfred. I have an alfred utility folder in KM : I can then create quick helpers in KM like this : And then call it from Alfred : It's a lot faster to glue keystrokes, scripts and everything in KM thanks to its spotlight picker of actions. The only downside, is that if I want to share this workflow, I actually have to translate all the actions to applescript since I can't assume users owning KM but for quick personal workflows, it has been really productive for me.
×
×
  • Create New...