Alfred, Remember the Milk
After toying with Google Tasks as a way of managing my life (or at least the parts of my life not already managed by Trac), today I’m experimenting with Remember the Milk, with hopes of finding, in its single-minded focus on task management, a more fulfilling solution.
After getting the iPad and iPod apps set up, getting the email-to-tasks chain flowing, the next task is getting (the excellent) Alfred app up and running for easy task entry from anywhere.
Here’s how I did it.
Step One: Install rumember
This is a handy command line Remember the Milk utility. Install as follows, from the command line:
git clone https://github.com/tpope/rumember.git cd rumember sudo gem build rumember.gemspec sudo gem install rumember-1.0.0.gem
Run ru from the command line the first time and a browser will open Remember the Milk requesting permission to access the application; one you grant this once you don’t need to do it again. Once you’ve done this, you can test the utility from the command line like:
ru Setup Alfred for Remember the Milk
Step Two: Setup for Alfred
Open the Alfred Preferences window and click on the Terminal section:

Click on the + at the bottom of the list to add a new command, and enter the following:
- Title: Remember the Milk
- Description: Add a Remember the Milk Task
- Keyword: r (this can be anything you like – rtm or task… anything)
- Command: ru {query}
- Optionally, grab this official icon and drag it into the icon field.
And click Save:

Make sure you check the Silent checkbox beside your new command to prevent a Terminal window from opening when you access the command:

Step Three: Use It!

…results in:

I’ve only been a Remember the Milk user for a few hours now, but I’ve already upgraded to the $25/year “pro” level – partly just because I admired the gentle on-ramp provided for this, where everything works fine and dandy at the “free” level, but just works better once you pay up. I’ll report back in a few weeks on how I make out with it…


Comments
1. With terminal closed, I can’t seem to get the silent option to work. the tasks only add to RTM when I have terminal launched
I don’t seem to have this issue: with Terminal.app closed I can successfully add a task via this method without Terminal opening (or needing to be open).
2. Do you know how to add tasks to smartlists using this method? The due date works like a charm, but when I add, say, “#Work” it’s not filing the task like RTM normally would.
If you check the “Escape spaces with backslashes” checkbox this appears to work properly:
To “Run ru from the command line,” once you’ve installed Rumember, just open the Terminal application and type ru. Your browser should open and you’ll either be asked to login to Remember the Milk or, if you’re already logged in, you’ll have automatically authorized Rumember. That’s it!
pushdabove theru {query}actually let me run it through the RVM version :)-s "/Users/YOUR_USERNAME_HERE/.rvm/scripts/rvm" ;source "/Users/YOUR_USERNAME_HERE/.rvm/scripts/rvm";ru {query}made it work for me. This is only applicable if you installed ru with RVM.After running:
sudo gem install rumember-1.0.0.gemI get this error message:
ERROR: Error installing rumember-1.0.0.gem:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb
mkmf.rb can’t find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h
I am running a fresh install of Lion, which I believe ships with Ruby 1.8.7.
After copying the command lines I get this error:
ERROR: Error installing rumember-1.0.0.gem:
Can anyone help?
Me too.
Me three. Any help, anyone?
Me four. Uggggh. I've tried the rvm route, but I'm not too familiar with Ruby installation/setup. I'll just wait for a solution to be posted here… :(
You’re just sending regular Remember the Milk strings via the API, so anything you can enter in the app you can enter via this interface. So, to your example, “r get some milk tomorrow” should work just fine.
Post new comment