Welcome!  English (US) Language Switcher

Using the mobile Add as a generic Quick Add tool including all fields

rajjan Pro says:

Try this (sorry for the long link but it has all the fields except location and list) http://m.rememberthemilk.com/add?name=Take%20over%20the%20world&priority=2&due=tomorrow&repeat=every%20week&estimate=8%20h&tags=rule&url=www.dn.se to get this:

Host unlimited photos at slide.com for FREE!

The /add used in the mobile version has all the fields you want, better to use that instead of the Quick Add tool. By saving this page it's quite easy to add all the functionality you want including defaults, list boxes instead of text boxes etc.

Posted at 9:40pm on November 7, 2007

rajjan Pro says:

Here is the Firefox+Internet Explorer (maybe it works for other browsers too) javascript for the bookmarklet above (replace "#" with "javascript" followed by a ":"):

#(function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else if(document.getSelection){t=document.getSelection();}else if(document.selection){t=document.selection.createRange().text;}; cp='http://'+h+p+'?name='+t; w=window.open(cp,'addwindow','status=no,toolbar=no,width=200,height=560,resizable=yes'); setTimeout(function(){w.focus();}, 500);})();

Create a toolbar button and paste all text above into "address". If you select some text before using the button the task field gets filled with that text.

In my humble opinion this bookmarklet works better than the RTM one as it allows setting all the fields in one go in one place. It's even easier than adding tasks directly at the site as things are added at different places there.

Love RTM though, just the adding tasks part needs improving ;-)

Posted at 8:53am on November 8, 2007

rajjan Pro says:

Easier: pull this link into the bookmarks area:

Add to RTM!

Edit the button (right-click it, choose Properties) and replace the "http://www.rememberthemilk.com/forums/tips/3133/#" in the beginning of the adress with "javascript" followed by a ":"

Posted at 9:19am on November 8, 2007

rajjan Pro says:

I have modified this Quick Add page a bit in order to have default values and list boxes to choose from. You can find it at my homepage.

However, you'll need to modify two things before you can use it (or modify it further):
1 Have it to choose from your lists
2 Have it to choose from your locations

You can find this (and as a matter of fact even copy the code) by viewing the source code from this page.

I would suggest that you then create a bookmark that uses your version of this page. Easiest way is probably to modify the javascript above. Unfortunately I haven't managed to get the select-text-in-advance-part to work yet.

Host unlimited photos at slide.com for FREE!

Posted at 10:29am on November 8, 2007

rubyji Pro says:

Thanks, this works great!

Posted at 6:45pm on December 5, 2007

rajjan Pro says:

Glad you like!

Posted at 7:30am on December 6, 2007

jmdurant says:

anyway to get the URL automatcally entered?

Posted at 11:43pm on December 13, 2007

rajjan Pro says:

Add '+&url='+location.href to the java_script:

java_script: (function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else if(document.getSelection){t=document.getSelection();}else if(document.selection){t=document.selection.createRange().text;}; cp='http://'+h+p+'?name='+t'+&url='+location.href; w=window.open(cp,'addwindow','status=no,toolbar=no,width=200,height=560,resizable=yes'); setTimeout(function(){w.focus();}, 500);})();

(Remove the "_" in java_script)

As for fixing this in the html file above, I didn't succeed. Java_script is more flexible.

Posted at 11:46am on December 14, 2007

westis Pro says:

Great tip!

How can I have the task line to be focused, so I only have to start tyoing when the window pops up? That is, like for the official quick add tool.

Now the window pops up, but then loses focus, so I have to click the window, then the input box for the task name. Small thing, but kinda troublesome in the long run.

Btw, when I add the code to add the URL the popup window doesn't open. Nothing happens when I click the toolbar button...

Tack rajjan! :)

Posted at 11:31pm on January 4, 2008

rajjan Pro says:

Sorry, the ' before the URL is in the wrong place (java_script is rather picky ;-)

java_script: (function(){h='m.rememberthemilk.com';p='/add';if(window.getSelection){t=window.getSelection();}else if(document.getSelection){t=document.getSelection();}else if(document.selection){t=document.selection.createRange().text;}; cp='http://'+h+p+'?name='+t+'&url='+location.href; w=window.open(cp,'addwindow','status=no,toolbar=no,width=200,height=560,resizable=yes'); setTimeout(function(){w.focus();}, 500);})();

(Remove the "_" in java_script)

As for getting focus, I really don't know, I know very little java_script. Maybe someone else has a solution?

Lycka till westis!

Posted at 9:36pm on January 6, 2008

tmech says:

this bookmarklet requires me to log in to the mobile site before I can add a task. RTM's incomplete bookmarklet posts to the main RTM site. Is there a way to use this revised bookmarklet on the main site, so I don't have to log in to the mobile site?

Posted at 5:22pm on March 4, 2008

cliod says:

That is very clever, Rajjan! Thanks!!

Posted at 6:14pm on March 4, 2008

rajjan Pro says:

tmech: If you log into the mobile site you will remain logged-in for quite some time (weeks). Unless that's a problem (shared computer for example) you only need to log in once in a while.

Posted at 1:29pm on March 5, 2008

fourtwoseven says:

Thank you Thank you Raiijan! This is a lifesaver!

Posted at 11:59pm on June 12, 2008

rajjan Pro says:

Glad I saved your life ;-)

Posted at 7:57am on June 16, 2008

tafkaj says:

This is really helpful! It's also a good idea to escape the URL so that complex URLs (such as URLs to specific messages in Gmail) aren't chopped short: just replace +location.href with +escape(location.href);

Posted at 6:42pm on July 5, 2008

lcompean says:

I do but I don't understand what you guys did.. probably cause I just fell into the HTML scripting wagon. This is a pop up possibly a widget-like thing -does it direct to my account automatically if I open up a RTF page and then copy the Web page address and place the address in href area? I think I get that much but can you go alittle further and highlight an example of what the string I'm looking for looks like too? like a before and after.

It's for desktop versions only?- I'd copy this to a text doc and save as a html right so I can open in a browser page by clicking the icon right?

Sorry~ not afraid to crash my computer... just rather not do it itf I don't have to...thanks guys!

Posted at 6:20pm on July 19, 2008

lcompean says:

Okay I got it and added a couple more drop downs but one thing still escapes me-- I can't get the notes section to show up correctly... did anyone else get that cut and paste script done correctly? Pls, pls pls, post it, thanks!

Posted at 10:26pm on July 19, 2008

Log in to post a reply.