Page 1 of 1

[Goodie?] Use Date as Tag

Posted: Fri Sep 18, 2009 3:26 pm
by Noddy330
Tag your ToDo items with their due date in the format yyyy-mm-dd, e.g. 2009-09-18, and get them ordered by due date in the Tag Sidebar.
Nod

Re: [Goodie?] Use Date as Tag

Posted: Tue Sep 29, 2009 12:47 pm
by PinnacleWebDesign
Hi Nod

That's such a good idea - I've been experimenting with using Autohotkey to automatically generate the date tags for me.

So, for something I need to do in a week's time, I just type d7 and Autohotkey creates the tag for me. The code is

Code: Select all

::d7::
EnvAdd, CurrentDateTime7, +7, days
FormatTime, CurrentDateTime7,%CurrentDateTime7%, yyyy-MM-dd
SendInput %CurrentDateTime7%

I've set up ranges of date periods; for a week, 10 days time etc as well as one for today's date. It doesn't cover every eventuality but still saves me a lot of typing.

Cheers,
Mick

Re: [Goodie?] Use Date as Tag

Posted: Tue Sep 29, 2009 1:33 pm
by Noddy330
PinnacleWebDesign -Thanks.
I use ShortKeys, http://www.shortkeys.com/, to generate my dates.
For example, I have entries set up to generate today's date in various formats
- 29/09/2009
- Tue 29 Sep 2009
- 2009-09-29
Like the +7 etc idea. I'll use that in ShortKeys.
Nod

Re: [Goodie?] Use Date as Tag

Posted: Tue Sep 29, 2009 2:59 pm
by toddclausen
PinnacleWebDesign wrote:'ve been experimenting with using Autohotkey to automatically generate the date tags for me.

So, for something I need to do in a week's time, I just type d7 and Autohotkey creates the tag for me. The code is

Code: Select all

::d7::
EnvAdd, CurrentDateTime7, +7, days
FormatTime, CurrentDateTime7,%CurrentDateTime7%, yyyy-MM-dd
SendInput %CurrentDateTime7%

I've set up ranges of date periods; for a week, 10 days time etc as well as one for today's date. It doesn't cover every eventuality but still saves me a lot of typing.

Cheers,
Mick

Thanks for sharing Mick. I like the d7 key combo!