07.09.06
GTDAlt and Remind
GTDAlt just acquired support for the wonderful Remind program, and your life will never be the same! Find out about Remind here, and get the installer for it here. The rest of the post describes how this works with GTDAlt.
Update: Just added support for iCal as well. Doesn’t do much intelligent stuff, but you can still mark items as completed in iCal, and this will reflect back when you run the synchronization script.
There is a bit of preparatory work you need to do. As you already know (you did read the second link above, right?) Remind uses a file in your home directory called .reminders to do its magic. GTDAlt instead creates a file in your GTD directory called gtdalt.reminders. This means you need to edit your .reminders file by adding the line:
include /Users/haris/Documents/MyGTD/gtdalt.reminders
where of course you should use the path to your gtdalt file. This tells Remind include the gtdalt.reminders file in its calculations, so it allowes us to mess with this file instead of destroying .reminders. That’s all the prep you had to do!
Ok then, now how do you use this in GTDAlt? Well, you don’t really need to do anything if you don’t want to: Any due: and at: dates you have will create reminders. A due: date will further print a DUE: message, so that you know the reminder can be acted upon earlier as well.
But you can do more! Essentially, you can set up recurring events. You do that by adding, in addition to the due date, the following in the note:
rep:week
This will repeat the event each week, starting at the due date. Similarly:
rep:tue,wednesday
will repeat the event every Tuesday and Wednesday. Finally, something like:
rep:10
will repeat the event every 10 days. These can all be combined by separating them by commas, like:
rep:tue,10,week
Finally, you can specify your own reminder instruction, by specifying a direct REM line, like so:
REM June 7 2006 *30 %
This will be converted to:
REM June 7 2006 *30 MSG The action's text here. %
Finally, the variable TM_GTD_REMINDER determines the number of days in advance that we should start getting reminders. Note, that the note text could contain other things as well, but they will simply be ignored.
Ok, that’s enough for now, let me know how it works!
Later
Alan said,
July 10, 2006 at 6:09 pm
GTDAlt just acquired support for the wonderful Remind program
You say that as if it went out and picked it up on its own
Mark Eli Kalderon said,
July 14, 2006 at 2:10 pm
For some reason the rep: command is not working for me (I have updated to revision 4212). Checking the scope I get:
text.gtdalt
meta.project.begin.gtdalt
meat.action.gtdalt
constant.action.title.gtdalt
I assume the syntax for rep: is similar to due: and at:
Thanks!
Haris said,
July 14, 2006 at 6:57 pm
Hi Mark,
maybe I wasn’t very clear about the rep command. First of all, its syntax is not like the due: command. In particular, there should be no brackets, and it is meant for repeating things, so it doesn’t even accept a regular date in the yyyy-mm-dd format.
But most importantly, it has to be in a Note for the action, not in the action line itself.
Mark Eli Kalderon said,
July 15, 2006 at 5:07 am
That was the problem, thanks!
Oliver Hagmann said,
July 16, 2006 at 3:13 am
I hope it\’s not just me but it seems like the
TM_GTD_REMINDERisn\’t recognised anymore in the latest revision (4246). I have it set to 7 but all actions have only +1 day in advance reminders in the gtdalt.reminders file. This used to work some revisions ago. And thanks for this great bundle!!Haris said,
July 16, 2006 at 8:05 am
Hi Oliver,
No I don’t think it’s just you. It somehow broke at some point, and then name of the variable being checked was YM_GTD_REMINDER instead for some reason. Should be fixed in 4262.
Oliver Hagmann said,
July 18, 2006 at 1:31 am
Just an idea: Would it be very difficult to add a Tooltip to get some visual feedback whenever I’m running the “Fill Remind Files” and the “Clean-up current file” etc. commands?
Haris said,
July 18, 2006 at 7:15 am
@Oliver,
that should probably be not too difficult. What would you like the tooltip to say?
Oliver Hagmann said,
July 18, 2006 at 1:40 pm
Hm. Good question. Maybe: “You’re looking great!” or “Peace on earth!”? - No. Honestly something uplifting isn’t the badest idea in the context of GTD, me thinks. Something like “Cheers! All clear now.” for the Clean-up command would be nice. I currently can’t think of anything funny for the Fill remind files command though. Try to be funny in a non native language… Maybe someone else has an idea?
Haris said,
July 18, 2006 at 3:11 pm
Actually I can’t do it with the clean-up script, because it has to replace the current document, so it can’t show a tool-tip at the same time. But I added some message to the Fill remind files one, just acknowledging that it ran. It doesn’t really check to make sure the command did the right thing though.
Oliver Hagmann said,
July 19, 2006 at 7:24 am
Ok. Thanks! It doesn’t work perfectly yet, though. I get a tooltip, but it says:
/bin/bash: line 2: puts: command not found
Haris said,
July 19, 2006 at 8:07 am
Ah, right! I was using Ruby commands while the script was a shell script. Should be fixed now.
John Weesk said,
January 15, 2007 at 4:32 am
This is great. The one thing I miss when using Remind with GTD, though, is that Remind doesn’t show overdue items. I customized my copy of fillremindfile.rb a little to have overdue items show up. Here is the bit of code I changed:
Steve Goodman said,
March 14, 2007 at 1:37 am
Was wondering if you could be more exact on where you placed the new code in the Fillremindefile.rb?
Would love that feature on my Remind list
Graham English said,
May 27, 2007 at 9:29 pm
This is awesome! I’ve been using Remind for a while and thought to myself, wouldn’t it be cool of GTDAlt worked with Remind. Then, as I was digging into the menu, there it was: Fill Remind Files.
Works perfectly! Thank you.
Does lipitor have a generic drug. said,
March 22, 2008 at 4:28 pm
Lipitor….
Genaric lipitor….