Jump to content


  • Content count

  • Joined

  • Last visited

About gandalfsaxe

  • Rank

Recent Profile Visitors

1,286 profile views
  1. Symbol bars

    Oops thanks
  2. Symbol bars

    Download: http://www.packal.org/workflow/symbol-bars (direct link) Very simple alfred workflow that paste one of the symbols in {#, *, -, =, %} N times. I sometimes find i various programming languages (or just LaTeX) that I want to make a visual distinction between blocks of code. A quick an easy way to do this is with this workflow: #bar N *bar N -bar N =bar N %bar N Example usage:
  3. Very cool workflow. One thing I'm missing is easily being able to switch between Google Maps and Apple Maps? Is the intention that this is set up once and then one of them is used all the time? I was thinking perhaps a simple modifier key could switch between them or something?
  4. Case Converter (including Title Case)

    I prefer keyboard shortcut to a keyword for this workflow, but I can see why others would prefer keyword. I use Cmd+Ctrl+Opt+Shift (yes all modifier keys) + * L (lower case) * U (upper case) * S (sentence case - but I almost never use this) * T (title case) In the beginning it felt a little like doing finger gymnastics (I use little, ring, middel and thumb for the four modifiers on the left, and index on right hand for the letter), but I've gotten used to it now. On the other hand, the heavy use of modifier keys, it never interferes with anything 😄 Anyway just for inspiration. Regarding your question, isn't it just a matter of connecting all the python scripts in the workflow to an Input -> Keyword, and then making the keyword titles that you want? See attached screenshots.
  5. Any way search & open a folder in SAME Finder window?

    Just restarted, still doesn't work. As is shown here: https://i.imgur.com/Dn8f1J4.gifv
  6. Any way search & open a folder in SAME Finder window?

    Ah sorry @vitor, I read your post too fast and thought you suggested System Preferences -> Dock -> Prefer tabs when opening document -> Always I now remember why this particular setting was a no-go for me: If I have multiple SublimeText windows open, and I relaunch the app, all windows are combined within one, meaning that I have two levels of tabs open. This is actually a really cool feature, if it was supported by SublimeText, but it isn't. This means that I have no way of recombining separate windows except for relaunching the app, cause *all* windows to recombine. As for: Finder Preferences → General → (tick) Open folders in tabs instead of new windows. - unfortunately, this doesn't even work for me. It makes no difference how this setting is set; Finder will always open folders in a new windows, regardless of whether I use Spotlight search or Alfred. Does it work for you?
  7. Any way search & open a folder in SAME Finder window?

    Thanks for the suggestion. I have had that option enabled sometime in the past, but I changed it back. Can't exactly remember why. But it does do what I want, if you can live with *always* having things open in tabs. I can't remember why it bothered me, so I think I'll change it back and see how it goes
  8. Any way search & open a folder in SAME Finder window?

    I understand what you said, that's why I resigned to the situation and said "I'll probably survive then". I just said why I find it a little jarring when I can quick open files and folders in many text editor / note applications in a much better way, but not in my main file browser. I just find it lacking, though I now understand that there's nothing Alfred can do about it easily.
  9. Any way search & open a folder in SAME Finder window?

    Alright, thanks for the answer. I'll probably survive then. I just like how many text / code editors have really nice "Quick open..." options that opens a bar with fuzzy search, and opens new files in new tabs. It's a little jarring that Spotlight/Alfred does it in a new window every time, but oh well.
  10. When you open folders from Alfred (and Spotlight), it always opens a new Finder window in a weird size and position - sometimes practical, but most times not. Is there a way to search for and open a folder in same Finder window as a new tab instead of a new window?
  11. Autocompletion references from .bib file

    Any luck?
  12. Apple Music search with Alfred

    @gingerbeardman The links are no longer working. Can you repost?
  13. Autocompletion references from .bib file

    I don't use BibDesk, but I'm willing to try that workflow, either as a basis to modify or just use Bibdesk in addition to Mendeley (that is my reference manager of choice) just for the purposes of this workflow, if that could somehow work. However I'm getting a broken link when I try to download that workflow. Do you know where it moved to?
  14. Hi, I'm looking to build quite a simple workflow in Alfred that simply can suggest / autocomplete "citekeys" when I start typing, using a .bib file as it's basis. A .bib file is a BibTeX reference list, which is a plain text file containing a list of references formatted by the following scheme: @article{Salimans2017, abstract = {We explore the use of Evolution Strategies (ES), a class of black box optimization algorithms, as an alternative to popular MDP-based RL techniques such as Q-learning and Policy Gradients. Experiments on MuJoCo and Atari show that ES is a viable solution strategy that scales extremely well with the number of CPUs available: By using a novel communication strategy based on common random numbers, our ES implementation only needs to communicate scalars, making it possible to scale to over a thousand parallel workers. This allows us to solve 3D humanoid walking in 10 minutes and obtain competitive results on most Atari games after one hour of training. In addition, we highlight several advantages of ES as a black box optimization technique: it is invariant to action frequency and delayed rewards, tolerant of extremely long horizons, and does not need temporal discounting or value function approximation.}, archivePrefix = {arXiv}, arxivId = {1703.03864}, author = {Salimans, Tim and Ho, Jonathan and Chen, Xi and Sidor, Szymon and Sutskever, Ilya}, doi = {}, eprint = {1703.03864}, file = {:Users/gandalf/Library/Mobile Documents/com{\~{}}apple{\~{}}CloudDocs/-Sync/Mendeley/Salimans et al/Salimans et al. - 2017 - Evolution Strategies as a Scalable Alternative to Reinforcement Learning.pdf:pdf}, isbn = {3-540-63746-X}, issn = {1744-4292}, pages = {1--13}, pmid = {27474269}, title = {{Evolution Strategies as a Scalable Alternative to Reinforcement Learning}}, url = {http://arxiv.org/abs/1703.03864}, year = {2017} } This example above is just one entry, there are typically many such entries in a file. The important part is the very first value near the top which is the citekey, here "Salimans2017". What I want is that I start typing "Sali" in Alfred, and that it suggests "Salimans2017" and paste it to the current text cursor in format "[@Salimans2017]". As a bonus feature I'd be nice to be able to search for a title, then getting the citekey for the selected match. Does anyone have any good idea of how to construct this workflow? It basically boils down to making suggestions / autocompletion for a list of keywords stored in a plaintext file, and then pasting these keywords in a slightly reformatted way. I've put an example of a .bib file with two references here: https://gist.github.com/GandalfSaxe/4ca72ed004b832f4721e5274e2f1bb48
  15. I think I got it to work.. somewhat. I can delete a file using e.g. "term rm img1.jpg", however I cannot get it to run a Makefile in the folder, i.e. using "term make". Any suggestions?