D3 Help, new list member: automatically referencing current tiddler in code...

1 view
Skip to first unread message

Biehl

unread,
Oct 27, 2006, 9:35:02 PM10/27/06
to TiddlyWiki
Sorry about the cross posting. I posted this in "GTD TiddlyWiki" group
and no one has responded. Posting here to see if anyone is
interested...

Hi,

Been a user and abuser of d3 (as well as other TW iterations) for a few
months, and I love it. I'm hopelessly hooked on tweaking it to my
style, and though I'm not a programmer and have no idea what I'm doing,
I'm learning more every day.

My current obsession is fleshing out the CTEP decision process into a
few mouse clicks. For example, if I have 30 minutes and a computer, I
want to click on @computer and see which actions on my list will take
less than 30 minutes to knock out. I've created checkboxes in my the
newActionTemplate that help me estimate how long an action will take
with just a click (10 min, 30 mins, etc.) Where I'm stuck is
displaying that info. Ideally, I'd like to have nested sliders in the
view of each context that list the CONTEXT SPECIFIC actions that are
tagged with each time designation. The code to get this done isn't
difficult, I know. It's just calling up the macro, like so:

+++(gtd@Computer30minSliderState)[30 minutes]<<list tagged " @Computer
30min" all>>===

The thing is I'm LAZY!. I don't want to type or even copy and paste
that code for every context. I want to lay out all of the slider code
once in either the newContextTemplate or the contextViewTemplate and be
DONE with it. So I guess my question is how do I make a tiddler
AUTOMATICALLY insert it's own name in specified spots in the code? Is
there a magic phrase that would make this possible?

+++(gtd*CURRENT TIDDLER TITLE*30minSliderState)[30 minutes]<<list
tagged "*CURRENT TIDDLER TITLE* 30min" all>>===

I can also see that another way to do it would be to modify the code
behind the new "Review Next Action Only" macro to create check boxes
that show ONLY the 10 minute or 1 hour tasks on the list, but that's
way over my head right now. I stared at the language tonight for a few
hours, and I think if someone showed me what I'd have to modify I could
figure it out, but I couldn't connect the dots on my own.

One more question: Where do I put the code for an onClick warning? My
biggest problem with the whole GTD system is remembering the DO IT NOW
rule, and I'd like to have a training alarm that reminds me about the 2
minute rule whenever I create a new action. Is this difficult?

Thanks in advance for the help.
Biehl

Reply all
Reply to author
Forward
0 new messages