topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday October 3, 2024, 4:00 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: UM - a to do list program  (Read 15266 times)

Daftago

  • Participant
  • Joined in 2006
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
UM - a to do list program
« on: December 31, 2007, 03:33 AM »
DISCLAIMER: This is a program I am writing to help me learn scheme, so it is probably buggy and quite frankly it is a little below the quality that I would prefer when releasing but since it is usable and N.A.N.Y. is a better time than most to release a program...

UM

um.png
Listing all unfinished tasks and finishing task 7 (which is of course called task8 because task 1 was finished way back)

UM is a to do list program that is used via the command line.  You can either call it via um.exe <command> or just running it to enter interactive mode.

Commands:
l  -> List all unfinished tasks (only tasks to depth 2 are currently listed i.e. you can't have sub-sub-tasks)
a task deadline [parent] -> Add a new task, parent is optional
f taskid -> Set task as done
m taskid parentid -> Change tasks parent (0 = root)
u taskid task deadline [parent] -> updates task
help -> displays help

Currently these are the only accepted date formats
yyyy-mm-dd
yyyy-MM-dd
mm-dd
MM-dd

Monday ... Sunday
Mon ... Sun        -> Next Monday etc

Tod | Today -> Today's date
Tom | Tomorrow -> Tomorrow's date



Example Usage: (this is in the interactive mode)
um>a Tiger Jul-23
um>l
1 Tiger 2007-7-23
um>a Find where tigers are sold May-10 1
um>a Get enough tiger food for 6 months Jul-1 1
um>a Buy tiger Jul-23 1
um>l
1 Tiger 2007-7-23
     1.1 Find where tigers are sold 2007-5-10
     1.2 Get enough tiger food for 6 months 2007-7-1
     1.3 Buy tiger 2007-7-23
um>f 1.1
um>l
1 Tiger 2007-7-23
     1.1 Get enough tiger food for 6 months 2007-7-1
     1.2 Buy tiger 2007-7-23
um>quit
Done


See tdl - to-do list manager (http://www.rpcurnow.force9.co.uk/tdl/) for the linux program that inspired this.





mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: UM - a to do list program
« Reply #1 on: December 31, 2007, 03:55 AM »
fun :)
I wonder if this might be something fun to interface with FARR.
If someone made a really simple plugin for FARR that was able to shell a commandline command and capture it's output, FARR could use programs like this very easily.
« Last Edit: December 31, 2007, 03:58 AM by mouser »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,963
    • View Profile
    • Donate to Member
Re: UM - a to do list program
« Reply #2 on: December 31, 2007, 04:37 AM »
like the way things move up the list, will try next year..eh, tomorrow
Tom