Organise

Remember The Milk For Launchy Adds Tasks In A Flash

Windows only: Remember the Milk for Launchy adds tasks to RTM in a flash, complete with due dates, tags, and even notes.

This script is based on the excellent email reminders script submitted by Lifehacker reader Ryan, but modified to submit tasks to Remember the Milk using their syntax for additional fields—which we previously used to email reminders to a specific list.

Remember the Milk for Launchy

Updated: 04/03/2009
License: This script is licensed under the GNU Public License.

Features

Once you’ve walked through the setup instructions, you can add tasks to RTM by simply typing rtm into Launchy, hitting the Tab key, type the task name, and hit enter to send the task to your Remember the Milk inbox.

The fun doesn’t stop there, however, as you can continue to hit the Tab key to add more fields—if you want to add a due date to your task you could hit the Tab key again after typing the task name, and then use the normal RTM date syntax. For example, the following would add “Finish the Script!” with a due date of next Friday:

rtm -> TAB -> Finish the Script! -> TAB -> next friday


The parameters must be added in order, but if you want to simply skip a parameter you can hit the Tab key again. The full list of parameters in order:

  1. Task Name
  2. Due Date
  3. List Name
  4. Priority
  5. Tags
  6. Notes

For a final example, adding a task to your Followup list with a priority of 1 would be:

rtm -> TAB -> Do Some Task -> TAB -> TAB -> Followup -> 1

Getting used to the order might take a bit, but once you’ve got the hang of it you won’t want to add tasks any other way.

Installing the Script

The installation process is a little complicated and geeky, but we’ll try and walk you through it as easily as possible.

Once you’ve downloaded and extracted the file, you’ll need to make a few edits—open it up and change the following two lines to use your Gmail account information. Note that you’ll need to save your password into the file, which could be a security concern—but you are encrypting your data, right?

Flds.Item(schema & “sendusername”) = “EMAILADDRESS”
Flds.Item(schema & “sendpassword”) = “PASSWORD”

Then find these lines, and replace the first one with your Remember the Milk Inbox email address (found in the RTM settings), and the second one with your email address (presumably your Gmail account).

With iMsg
.To = “REMEMBER-THE-MILK-EMAIL”
.From = “Me <EMAILADDRESS>”

The next step is to open up Launchy’s options panel, go down to the Runner plugin and add a new custom command—I used “rtm” as the name, the full path to the script in the Program field, and then the critical trick: pass in multiple arguments to the script by using the following in the Arguments field:

“$$” “$$” “$$” “$$” “$$” “$$” “$$”

When finished, the window should look something like this:

At this point you should be able to use the script to add items to Launchy in a flash.

Release History:

Comments (AU Comments | US Comments)

  • ddoonie

    I wish there was a more complete one like this for quicksilver, so i could add priorities/tags/notes etc..

  • Dylan Boom

    @ddoonie: I feel your pain.

  • jblackhall

    Gnome-Do has had a nice RTM plugin for a few weeks now :) [do.davebsd.com]

  • Gus H.

    Very cool idea. I wish I had the skills to do the same with Toodledo. Lauchy to **'insert favorite task management system here'** is awesome!

    Gus H.

  • Gus H.

    Very cool idea. I wish I had the skills to do the same with Toodledo. Lauchy to is awesome!

    Gus H.

  • shatteredmindofbob

    I really wish Launchy had some kind of proper plug-in directory instead of that forum where you have to look hard to find an ACTUAL plug-in...unless there already is one I'm not aware of.

    shatteredmindofbob

  • burnblue

    Also, I don't get an icon in launchy

    burnblue

  • burnblue

    Darn.. anyway I was saying that it doesn't work for me. I enter the tasks and they don't show up in RTM.

    burnblue

  • Frostbeard

    Doing this with Ubiquity requires considerably less setup, and is just as straight-forward. I think there might be a couple extra keystrokes (rtm-a instead of just rtm, for example), but they're almost always because the ubiquity option has more features.

  • Bighaugs

    this is sweet, but there's no way I would have remembered the right order.

    so i edited the background of my current skin (Spotlight wide) with the 6 fields in order (i.e. RTM > task > due... etc...). It looks ugly as all get out, but at least it'll help me learn 'em.

    Y'all should make up a skin that incorporates the necessary hints, but makes it look pretty.

    Bighaugs

  • spiralout987

    @Frostbeard: how do u this with ubiquity?

    spiralout987

  • Bighaugs

    Here's what I'm talking about:

    [www.duke.edu]

    a little edit to my skin, and this is by far the easiest way I know of to add RTM tasks.

    Thanks, Lifehacker!

    Bighaugs

  • The How-To Geek

    @Bighaugs: That's hilarious. I did the EXACT same thing... I wasn't sure if I should include it or not in the download.

  • Bighaugs

    @The How-To Geek:

    How does Launchy choose the icons it shows in some skins (including Spotlight)? A better of doing this might be to make Launchy show a l'il icon with a tiny reminder image every time you call up the 'RTM' script.

    That way I wouldn't be stuck with my butt-ugly PhotoSh** job every time I call up Launchy.

    Bighaugs

  • The How-To Geek

    @Bighaugs: That's something I'm trying to figure out - I think it uses the icon of the app that launches the script, in this case wscript.exe.

  • nerdly

    Damn, I miss iwantsandy.com. I did all that with Launchy with one tab using a more natural language.

  • Frostbeard

    @Gary Hodgson's site and approve the 3rd party install. Once you've done that you just need to create a login token (type rtm-login in the ubiquity bar and login to RTM as usual) and you'll be good to go.

  • matilde

    will this work with executor?

    matilde

  • goodywitch

    @matilde: Replace "$$" with $U1$ $U2$ etc in the arguments field and it should work.

    Also, include in the comments field the order, so you don't have to remember it all the time. I haven't tested it out because I have to lower my firewall (that's what I did with the gmail script), but post if it works for you.

  • MartaBurns

    dumb question - I keep getting a Windows Script Host error - Line 14, Character 1, "Subscript out of range", code 800A0009. What am I doing wrong?

    MartaBurns

  • swevrywhere

    I agree, it would be great to have the script parse the data correctly regardless of the order. Hopefully the script will be updated soon to include that functionality.

  • The How-To Geek

    @MartaBurns: That means you probably didn't enter the arguments into Launchy's runny dialog, because that line of the code is expecting an argument to be there.

  • KirbyWhiles

    I got he following error : Line:14 Char : 1 Error: subscript out of range code: 800A0009 Source: Microsoft VBScript runtime error

    KirbyWhiles

  • ddoonie

    @Dylan Boom:

    Right now i'm just using the gmail module with textexpander, so i type my subject then the task shortcut word...

    eg..
    Visit Lifehacker>>
    D:
    E:
    S:
    R:
    ---

  • Luis Antonio Larrea

    I cannot get the TAB to work after I type the task name. I cannot insert due date, list name, tags or anything after the task name. Any ideas?

    Luis Antonio Larrea

  • CntRational

    Getting this error: [i43.tinypic.com]

  • JedStheno

    http://i43.tinypic.com/33njf6a.jpg Getting this error here...

    JedStheno

  • KodyEscardon

    Hey, I suggested doing this under the "send yourself reminders through launchy" topic a couple days ago. To remember the order of parameters, I use: rtm >t>d>l>p>tg>v as the command name. Launch autocompletes after I type the rtm, and displays the whole command name for me to use as reference.

    KodyEscardon

  • jkersh

    @Luis Antonio Larrea: Did you rebuild the catalog?

    jkersh

  • Luis Antonio Larrea

    @jkersh: Yes, but same problem. The rtm script works, but I can only input the task name after that the tab does not work (I do not get the sideways triangle shown on the screencaps)

    Luis Antonio Larrea

  • RosaliaGabynoodle

    this is sooo awesome ...damn i love launchy even more now

    RosaliaGabynoodle

  • YamkaPera

    Very cool. I have reordered the options (tags before due date) and it works good. Two wishes: 1) no task send when no arguments (subject etc) are given 2) information about what type of argument i have to enter (I have solved this partly to change the name of the vbs file to rtm-s-t-d-l-p-n)

    YamkaPera

  • phitsc

    And then there is FarrMilk, my FARR (Find & Run Robot) plugin that allows you to filter and sort your tasks, add new tasks, edit existing tasks, manage lists and much more. FARR is a Launchy-like application launcher with a low memory foot print (because it doesn't index files, but searches them as you type) so one might even run FARR and Launchy next to each other.

    FarrMilk can be found here: [farrmilk.objecttechnology.com]

    phitsc

  • Neal Dench

    @JedStheno:

    I'm getting something very similar: [www.flickr.com]

  • ColemanBooga

    Another Launchy lover here... any ideas on how to tweak the script to enable a hookup through a company firewall?

    ColemanBooga

  • Cordelya

    @Luis Antonio Larrea: I am getting the same problem, but the point at which tab stops working varies. Sometimes it stops after Date, and sometimes it stops after List. I've never made it beyond list. I have all 7 "$$" iterations in the parameters field.

  • Cordelya

    @Luis Antonio Larrea: Also, if the tab stops working, the script won't run.

  • Bassam

    Any help with how to do this through a proxy?
    I have a proxy at work, so the regular script can't communicate with the SMTP server.

  • zippersabrat

    @KirbyWhiles: Same here :(

    zippersabrat

Post Your Comments

Got something to say? There are two ways to comment:

1. Guests

Click here to comment instantly.

2. Facebook Users

Click below to comment using your Facebook account.

We're looking for comments that are interesting, substantial or highly amusing. If your comments are excessively self-promotional, obnoxious, or even worse, boring, you will be banned from commenting. All comments are moderated.