[Goodie?] Use Date as Tag
Posted: Fri Sep 18, 2009 3:26 pm
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
Nod
Code: Select all
::d7::
EnvAdd, CurrentDateTime7, +7, days
FormatTime, CurrentDateTime7,%CurrentDateTime7%, yyyy-MM-dd
SendInput %CurrentDateTime7%
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 isCode: 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