topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday March 19, 2024, 2:10 am
  • 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

Last post Author Topic: IDEA: Do this First.  (Read 42976 times)

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
IDEA: Do this First.
« on: October 26, 2007, 09:38 AM »
If you're anything like me, the first thing you do when you start the computer is to check your emails and feeds. An hour or two later, you might get something else done, if you remember what you intended to do in the first place.  :-[

I'm thinking of keeping all documents I'm currently working on in one folder, together with a text file listing the outstanding tasks to be done on each document and there due dates.

Now I need a little program that runs on startup, listing the next action needed on each document, and how long I have left to complete it.  When I select one, the document opens.
If you don't see how it can fail -
you haven't understood it properly.

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #1 on: October 26, 2007, 11:27 AM »
Isn't this sort of a ToDo list? Probably there are a few programs out there that already so something very similar to this.
(i'm thinking something where you can enter a note and the associate a file to it)

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,958
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #2 on: October 26, 2007, 02:15 PM »
I'm sure

make that I've definitely read about something similar done by somebody - using a script(?)
I think it was here - maybe in the Getting Organised Experiment - does that ring any bells for anyone?
Of course there was so much stuff linked to from there...

I've absolutely no idea what to search for but hopefully that might trigger someone's brain who has a better search/memory function than mine ?
Tom

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #3 on: October 26, 2007, 06:51 PM »
I wrote you a little something, try it out and let me know if it's close to what you want.

It's called "To Do Or Die" and it's a quickie task manager with links to your documents.

Installation:
Create a new folder and unpack the zip file there. 

Operation:
Run the executable.  Once it's up, you can drag any kind of Windows-recognized document file into the main window.  Drop the file(s) there, and it'll create an entry for each.  There's a maximum of 10 items (sorry).  After you drag at least one file, you can:

- Double click the file's icon to launch it;
- Double click the file's description to edit;
- Use the up/down buttons to change priority;
- Use the "Remove" button to get it gone.

To use the "due date" feature: Simply edit an entry's description and place the magic word "Due" on a line by itself (see screenshot).  After the word "Due" type a space and then the actual due date + time for the entry.  Use any date format you're comfortable with... 10/31/2007 works as well as Oct 31, 2007. 

Including a time component (e.g. "10/31/2007 8:00 PM") automatically displays remaining hrs/min/seconds until time's up.  Past-due items display their time in red.

All settings are stored in an .ini file created alongside the app.  It's plain text.  You can edit the .ini file directly to twiddle the data, if you like.  Settings are saved automatically when you exit the program, or can be force-saved via the "Save" button.

If you want it to start automatically with Windows, create a shortcut and drag it into your Windows "Startup" folder.

Known issues:
So far, the only thing I know of is a slight cosmetic problem should you be using the standard XP "rounded" theme.  I have mine set to "classic" and didn't notice until I ran it on a test machine.  :-)  It's no biggie, and if it bothers you I'll fix it.

Thanks,
Ralf

BigJim

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
  • I have seen the light!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #4 on: October 27, 2007, 01:17 PM »
Hi Ralf and thanks for your nifty little application. One problem and (at least) one suggestion:
1. In my trial, the countdown timer is reading one hour too many although the count up from past due is OK.

2. It would be handy if it could minimize to the Task Bar instead of only being able to minimize or close.

3. Incorporating a pop-up alarm of some kind might be a fun thing.

BTW: It seems to save on close. So what's the need/purpose of the "Save" button?
BTW2: A cool icon would be fun, too. DC member "ak_" seems to have a flair for this. See his File Nanny submission.

Thanks again for you work!!
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #5 on: October 27, 2007, 03:23 PM »
I wrote you a little something, try it out and let me know if it's close to what you want.
Wow! Thanks for your quickwork, Ralf!  :Thmbsup:

Yes, it's pretty much what I wanted, except for the bug in the time calculation. It seems if you enter a date across a month boundary with the day less than today (e.g. 3/11) then it adds on a month and the same for months and years (27/1/08 gives  1 year 3 months, 2 days)

I hadn't thought of including time. Perhaps other people have ideas about time settings to either use an app for a given time or pop it up after a given time, but that seems a different snack.

If I overrun the deadline I'm going to either drop the task or reschedule, so negative time doesn't make much sense.  Ideally, I'd like Due d to be interpreted as "due that day of this month, next month if d<today" and similarly for Due d/m.

+d for "days from now" would be nice too.   8)

Apart from that, great workand thanks again!  :-*
If you don't see how it can fail -
you haven't understood it properly.

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #6 on: October 27, 2007, 06:56 PM »
Okay, maintenance build here... v1.1

Fixes:
- Date/time calculations no longer use Reverse Hungarian Notation, resulting in greater accuracy (I fixed them);

- Addressed cosmetic issues on XP whilst running with default "Balloon Animal" theme.

New Stuff:
- Using the notation "Due +d" where d is a number-of-days (e.g. "Due +45") offset now automagically calculates the date and sticks it in there for you;

- Now plays MP3 files.  Really!  Just drop one on there and double-click the icon.  But shoot, it did that before... oh well.

If I overrun the deadline I'm going to either drop the task or reschedule, so negative time doesn't make much sense.  Ideally, I'd like Due d to be interpreted as "due that day of this month, next month if d<today" and similarly for Due d/m.

I'll leave the "past due" stuff as-is for now, unless you object.  Something about seeing clocks run backwards makes me happy.

I'll add the "Due d" and "Due d/m" stuff in the next release.

1. In my trial, the countdown timer is reading one hour too many although the count up from past due is OK.

Feexed!  See above.

2. It would be handy if it could minimize to the Task Bar instead of only being able to minimize or close.

I'll do that too in the next build.

3. Incorporating a pop-up alarm of some kind might be a fun thing.

I thought about that, and still might do it, but... the I got the feeling from JennyB that there's not a tremendous sense of urgency about these tasks, that this was intended as a kind of an automated agenda.  If the stuff goes past due, it just gets rescheduled.

But I might do it anyway -- I'm finding I kind of like this wee thingie for my own use. :-)

BTW: It seems to save on close. So what's the need/purpose of the "Save" button?

Since this is the kind of thing that might run continuously in the background, it'd be a shame to lose your latest task twiddlings should the computer crash.  I *could* alter things so that every time the user adds/edits/removes a task the stuff gets saved... what do you think?

BTW2: A cool icon would be fun, too. DC member "ak_" seems to have a flair for this. See his File Nanny submission.

Just sent a message to ak_ pleading for help.  Thanks for the pointer!

UPDATE: Just noticed; the .exe titlebar still says "v1.0" but it's really 1.1.  D'oh!

BigJim

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
  • I have seen the light!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #7 on: October 27, 2007, 09:49 PM »
Feexed!  See above.
I'm now getting only days and seconds in the countdown/up.   :'(  No hours or minutes.

Understood on reschedule of past due. But I, too, like the count up as I'm usually late on everything. Due in no small part to having similar habits to JennyB (surfing for two hours before getting down to what I'm supposed to be doing)!

Ref: Saving - I think that auto save with every entry would be the safest and easiest thing if you can do it. I love processes that help protect me from my worst enemy ... ME!

Again with rescheduling and alarms - I take your (and JennyB's) point. It might be an over kill.
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."
« Last Edit: October 27, 2007, 09:52 PM by BigJim »

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #8 on: October 27, 2007, 11:19 PM »
Another build, v1.2 and this time the version number in the titlebar is correct. :-)

I'm now getting only days and seconds in the countdown/up.   :'(  No hours or minutes.

I really fixed it good this time, I promise.

Ref: Saving - I think that auto save with every entry would be the safest and easiest thing if you can do it. I love processes that help protect me from my worst enemy ... ME!

Agreed; I made it so.

Also...

- Minimizes to tray now;

- "Save" button has been trashed.  (But don't worry... I recycle);

- New optional "Due d" syntax where d is a numeric day, e.g. "Due 28".  If specified day is <= today it's interpreted as next month;

- New optional "Due d/m" syntax where d/m is the month/day desired, e.g. "12/31".

BigJim

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
  • I have seen the light!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #9 on: October 28, 2007, 12:03 AM »
EXTREMELY COOL BEANS  :up: :up: :)      Thanks, man !!

I think that this is going to be really useful for me. I appreciate all of your effort. Hope that JennyB is as happy with it as I.

One small point: just about all of my "To-Do's" have a time of day attached and I'm a died-in-the-wool 24 hour clock guy. It would be handy to not have to put a colon in the time to make it work.

Thanks again.
BTW: It's handy that a fraction of a day works, too e.g. 1.5 days!
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #10 on: October 28, 2007, 12:12 AM »
Awesome- finally something I can use to keep track of stuff I need to do (and when it has to be done by) - the Windows Sidebar "Notes" gadget won't let you go past 10 notes, and I had about 20 things to do last week. I'll just use this side-by-side with my Notes when ToDoOrDie gets full.

Simple, effective, great little proggy! :Thmbsup:

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #11 on: October 29, 2007, 09:38 AM »
Another build, v1.2 and this time the version number in the titlebar is correct. :-)


Ref: Saving - I think that auto save with every entry would be the safest and easiest thing if you can do it. I love processes that help protect me from my worst enemy ... ME!

Agreed; I made it so.


'Ray!  :D

Also...

- New optional "Due d" syntax where d is a numeric day, e.g. "Due 28".  If specified day is <= today it's interpreted as next month;

- New optional "Due d/m" syntax where d/m is the month/day desired, e.g. "12/31".

Double 'ray!  :D :D I can confirm that this also works using day-first settings. However, a month less than the current month is not yet interpreted as next year. That will be important shortly!

Thinking a bit more about alarms - I definitely don't want one te go off when a deadline passes, but this might be useful:

For n  is interpreted thus - When the file is launched, TDOD is hidden, and pops up at the end of n minutes. A running total of time spent on the task is displayed.

Two reasons: if there is something I've been avoiding I can maybe persuade myself to spent just ten minutes trying to get started.  OTOH, if I've been a very good girl, I can reward myself with a strictly limited amount of Googling.  :P

 
If you don't see how it can fail -
you haven't understood it properly.
« Last Edit: October 29, 2007, 09:41 AM by JennyB »

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #12 on: October 29, 2007, 04:12 PM »
Another build, this one v1.3

- New optional "Due d" syntax where d is a numeric day, e.g. "Due 28".  If specified day is <= today it's interpreted as next month;

- New optional "Due d/m" syntax where d/m is the month/day desired, e.g. "12/31".

Double 'ray!  :D :D I can confirm that this also works using day-first settings. However, a month less than the current month is not yet interpreted as next year. That will be important shortly!

I did this.  Specifying a day and month selects the next occurence if the specified day+month is today or past.

However, the syntax is now "Due m/d" instead of Due d/m".  I changed it for consistency since some parts of the app were thinking day/month and others month/day.  If you'd prefer the European d/m syntax let me know and I'll swap it out.  Really no trouble!

Thinking a bit more about alarms - I definitely don't want one te go off when a deadline passes, but this might be useful:

For n  is interpreted thus - When the file is launched, TDOD is hidden, and pops up at the end of n minutes. A running total of time spent on the task is displayed.

I'll have to ponder the best way to do this.  I like the idea, and I like the "For n" syntax, but just gotta figure a way to fit it into the GUI without it looking crowded.  Maybe I'll implement a right-click context menu, where you can choose to "Open" or "Open for n minutes" or something.

You want an alarm to "bing" when the app restores itself at the timeout?

Is it conceivable you'd have more than one launched task counting down simultaneously?

UPDATE: Almost forgot!  Anyone with artistical skills want to make me a cool 32x32 icon for this wee beastie?  The one I'm using is so generic...
« Last Edit: October 29, 2007, 04:26 PM by Ralf Maximus »

BigJim

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
  • I have seen the light!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #13 on: October 29, 2007, 04:43 PM »
You want an alarm to "bing" when the app restores itself at the timeout?
How about a blood curdling scream (as in "Time's up; you die!")?   :rip:
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #14 on: October 29, 2007, 06:05 PM »
Another build, this one v1.3

....

However, the syntax is now "Due m/d" instead of Due d/m".  I changed it for consistency since some parts of the app were thinking day/month and others month/day.  If you'd prefer the European d/m syntax let me know and I'll swap it out.  Really no trouble!

European syntax please, it's what I normally use. I can see the logic of month-first for sorting,but that does not apply here.


I like the idea, and I like the "For n" syntax, but just gotta figure a way to fit it into the GUI without it looking crowded.  Maybe I'll implement a right-click context menu, where you can choose to "Open" or "Open for n minutes" or something.

You want an alarm to "bing" when the app restores itself at the timeout?

Is it conceivable you'd have more than one launched task counting down simultaneously?

No need to bing (but you might put it in for Big Jim). I'll have my eyes on the screen, and I'll only be timing one task at a time. The idea is that I promise "Right, for the next n minutes I will do only this."  If TDOD pops up again and I'm doing something else, then I'll know I am cheating myself.

I was thinking a default period in the ini file (0 meaning don't count time), and put a For statement in the description of any entry that needs to vary.

And now to bed!   
If you don't see how it can fail -
you haven't understood it properly.
« Last Edit: October 30, 2007, 10:15 AM by JennyB »

wreckedcarzz

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 1,626
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #15 on: October 29, 2007, 07:24 PM »
You want an alarm to "bing" when the app restores itself at the timeout?
How about a blood curdling scream (as in "Time's up; you die!")?   :rip:

lol! ;D ;D ;D

That would be a great alarm clock! If you added an MP3 of that into your task list...hmm...*goes off to make alarm clock*

CleverCat

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,164
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #16 on: November 05, 2007, 03:22 AM »
UPDATE: Almost forgot!  Anyone with artistical skills want to make me a cool 32x32 icon for this wee beastie?  The one I'm using is so generic...

How about....

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #17 on: December 08, 2007, 01:02 AM »
Here's an updated ToDoOrDie v1.5 with bug fixes and improvements:

snappy1.jpg

- Fixed bug in date + time evaluation function where using a date WITHOUT a year component but WITH a time component (e.g. "12/31 8:00 pm") freaked it the hell out.

- If American style dates annoy you, the parser should handle long date formats like "31 Dec 2007" or "December 31, 2007".  It's in there, but the code is (shall we say) only lightly tested.

- New "For" feature.  JennyB requested that TODOD track the time she spends working on an item, then pop up at predefined intervals to remind her with a total accumulated time.

To configure this feature, include the optional magic keyword "For nn" in the task description like so:

todo1.jpg

...where "nn" is the number of minutes you would like TODOD to wait before popping up -- 30 minutes in the example.  Then, when you launch the item (by double-clicking its icon) TODOD scurries away to the tray and waits 30 minutes before popping up again.  As a bonus, the cumulative total spent with a particular document is tracked and displayed as the (+2:23) in the example.  Each document has its own time counters, and all counters are saved between sessions.  Note that the popup timer only works with one document at a time... start a new one and the first timer is stopped and the second one starts.

When minimized to the tray, hovering the mouse over the TODOD icon displays the elapsed time, the remaining time until the annoying popup pops, and the total time spent messing with the current document for the life of TODOD's tracking it.

Upon popping up, it plays a brief sound: Notify.wav located in the TODOD folder.  If you don't have Notify.wav, one will be created for you.  If you wish, replace Notify.wav with whatever .wav file you prefer.  Deleting it, however, is futile as Notify.wav will be recreated automatically upon TODOD startup.  Muhahahaha!

Whew.  Hope all that makes sense; if not please say so.

CleverCat: I dropped you a personal message about your icon.  (Thanks!)

JennyB: I am so very sorry it took as long as it did for me to get moving on this again.  I've not been doing much recreational coding lately, since work's been sucking the life out of me.  But I found some time now, and I hope this is close to what you envisioned.  Get back to me with bugs and/or feedback and I'll turn it around quicker, I promise.

Thanks,
Ralf

UPDATE: Added a second edition with an alternate icon design provided by CleverCat.  If JennyB prefers this one, I'll make it the default for the project.
« Last Edit: December 08, 2007, 01:09 PM by Ralf Maximus »

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #18 on: December 08, 2007, 02:48 PM »

JennyB: I am so very sorry it took as long as it did for me to get moving on this again.  I've not been doing much recreational coding lately, since work's been sucking the life out of me.  But I found some time now, and I hope this is close to what you envisioned.  Get back to me with bugs and/or feedback and I'll turn it around quicker, I promise.

Thanks,
Ralf

UPDATE: Added a second edition with an alternate icon design provided by CleverCat.  If JennyB prefers this one, I'll make it the default for the project.

I do prefer the new icon (thanks, CleverCat  :Thmbsup:)

The main program is giving trouble, though. No response to "Due" or "For" and it doesn't minimise to the tray.  :'(
If you don't see how it can fail -
you haven't understood it properly.

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #19 on: December 08, 2007, 02:50 PM »
Erm... both versions?  New and old icons?  I just noticed the files are significantly different in size, like maybe my compiler barfed.

I'll take a look immediately!

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #20 on: December 08, 2007, 02:57 PM »
Try this one, please.  Recompiled and tested on a plain-vanilla XP workstation.  Minimized to tray and Due/For syntax worked OK.

Thanks,
Ralf

BigJim

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 178
  • I have seen the light!
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #21 on: December 08, 2007, 03:36 PM »
It's coming along nicely! Thanks for all your effort.

I may be having a brain phart (if I had a brain) but I thought that we had got over the next year hump. If I put in something for e.g. 01/15 I get a negative time back to last January.

One small point: just about all of my "To-Do's" have a time of day attached and I'm a died-in-the-wool 24 hour clock guy. It would be handy to not have to put a colon in the time to make it work.
Pretty please?? :tease:

BTW: Delightfully sinister, the wave that won't go away. Fiendishly clever!!
TruckerJim says "You can go down a hill too slow a thousand times. But too fast only once."

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #22 on: December 08, 2007, 04:05 PM »
I may be having a brain phart (if I had a brain) but I thought that we had got over the next year hump. If I put in something for e.g. 01/15 I get a negative time back to last January.

Oy, it's supposed to be handling that.  I'll take a look.  The date evaluation code got a rewrite because of the time bug; it's possible I broke something.

One small point: just about all of my "To-Do's" have a time of day attached and I'm a died-in-the-wool 24 hour clock guy. It would be handy to not have to put a colon in the time to make it work.

Forgot about this one.  Will do ASAP.
« Last Edit: December 08, 2007, 04:14 PM by Ralf Maximus »

JennyB

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 212
  • Test all things - hold fast to what is good
    • View Profile
    • Donate to Member
Re: IDEA: Do this First.
« Reply #23 on: December 08, 2007, 04:12 PM »
It's something wrong my end. Even version 1.3 doesn't work now.  :'( I'll get back to it on Monday.
If you don't see how it can fail -
you haven't understood it properly.

Ralf Maximus

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 927
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: IDEA: Do this First.
« Reply #24 on: December 09, 2007, 08:37 PM »
New version for BigJim that handles military time format (e.g. 2330 = 11:30 PM).

Also, cleaned up a few things performance-wise so some of the short delays experienced after editing an entry have gone away.

BigJim: I couldn't reproduce your "1/15" translating to "1/15/2007" bug.  Can you try it again with 1.7?