aberlee
-
Posts
10 -
Joined
-
Last visited
Reputation Activity
-
aberlee reacted to vitor in Easy/Pre-made way to display grep results in Alfred?
Here’s a quick and dirty solution in Ruby. You can paste it into the Script box of a Script Filter with /usr/bin/ruby as the Language and it should work:
require 'json' require 'pathname' files = %w(~/.aliases ~/.functions ~/.commands) search_query = ARGV[0] script_filter_items = [] files .map { |f| Pathname.new(f).expand_path } .each { |f| f.readlines .select { |l| l.include?(search_query) } .map(&:strip) .each { |l| script_filter_items.push(title: l) } } puts({ items: script_filter_items }.to_json)
-
aberlee reacted to deanishe in ImportError: cannot import name lru_cache and cannot seem to solve it
Be aware that Alfred-Workflow doesn't support Python 3 and will probably blow up in your face if you try to use it with Py3.
-
aberlee reacted to anazimok in Taskwarrior workflow
Here is a simple Taskwarrior workflow that allows you to view, edit, complete pending and completed items.
Following commands are available:
--------------------------------------------
t ls - List active tasks
t comp - List completed tasks
t del - List deleted tasks
t wait - List waiting tasks
t recur - List recurring tasks
t add <task text> - Adds new task
Download here: https://github.com/anazimok/taskwarrior-workflow/raw/master/Taskwarrior.alfredworkflow
-
aberlee reacted to HRD in The State of Alfred Remote app
Hi @Andrew
Can you kindly provide an update on when we can expect version 2.
-
aberlee reacted to hfr in Allow {TAB} for Snippets
Hi,
I would like to auto-fill forms with Snippets (v.3). Therefore I'd like to use the TAB command to navigate from one field (e.g. name) to the next (e.g. address).
The example would be:
---
John Doe {TAB}
123 Fakestreet {TAB}
Mytown
---
Or is there already a workaround for that?
Thanks.
-
aberlee reacted to deanishe in Script Filter ordering
I guess you're setting a UID on your result items?
Alfred intelligently orders your results based on your past behaviour. So if you select "Safari" a few times for the query "s", Alfred will show "Safari" as the top result. It identifies results based on their UID.
As long as you don't give your items a UID, Alfred should show them in the same order you emit them.
If you do specify a UID, Alfred will take over ordering results.
-
aberlee reacted to chriswebb in Email/Add Task to Remember the Milk (RTM) using Alfred
Don't know if the OP will get this, but I just wanted to say I've been looking for AGES for this very workflow (or at least something just like this to use with Nirvana as opposed to RTM). You have made me a very happy man!
Thank you very much :-)
Cheers,
Chris