 | rajjan  says:Inspired by recent discussions about command line entry in unix and hacking the RTM bookmarklet I've designed a Firefox bookmark that:
1 Takes whatever is selected as the default for the task name
2 This text can then be edited and additional info can be added:
- Priority (1,2 or 3)
- Due date (now, today, tomorrow, Mon, Tue etc)
- Estimate (0, 1, 5, 10 etc min, 1, 2, 3, 4 hours, 1, 2 days)
- Tags (end of the text following prio, due, estimate)
3 The URL of the current page is entered as the task URL
4 If you end the input with a " " (space) you get to edit the task in the mobile bookmarklet, otherwise it's added to RTM directly. Either way you get a confirmation and a chance to edit the task.
You can find the javascript at http://rajjanb.googlepages.com/RTM_html_command_line.txt
The above input will result in a task named "Check this cool tool" with a priority of "2" due "monday" with a duration of "30 min" and a tag "-efficiency". The URL will be the page you where on when calling the script.
Any ideas/suggestions? The script seems too long for IE, any way around this? Posted at 11:47am on November 21, 2007 |