Sequencing: New action from within action (att: Carsten)

2009-04-02 Thread Mat

A logical continuation to the SequencedActionsPlugin would be to
simply be able to create a new action tiddler from witin an existing
action

I.e perhaps a little plus sign (similar to the ones already existing
everywhere) inside the action tiddlers that, when clicked, creates a
new tiddler with the same tags AND the name of the original tiddler as
an additional tag  ...  i.e effectively creating the "Depends on:..."
for the SequencedActionsPlugin.

As far as I understand, all necessary components to do this are
already in place (e.g
in mgtdList there is newButtonTags and there is the "New here" and the
<>)
If I were only a better programmer... or, come to think of it, even a
bad programmer...


/Mat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Syntax mgtdList

2009-04-02 Thread Blazeguru

Thanks. Before I read Your answer I already found the code. I was
hoping that there was some kind of documentation on it, but it seems
there is not. I will indeed have to play with it, but if someone knows
the answers on one or more of my questions marked with
**>>> I would be very happy. The parameters
mentioned in the code and my questions are:

// title of the list
var title = getParam(pp,"title","");

// local means only look at tiddlers tagged with this tiddler
// global means look at every tiddler
var tagMode = getParam(pp,"mode","local");

// optional. ignored unless mode global. specify for speed gains
var startTag = getParam(pp,"startTag");

// eg, "Next && !Done"
var tagExpr = getParam(pp,"tags","");
**>>> What's the difference between startTag and
tags ?

// additional filter. gets eval'ed
var whereExpr = getParam(pp,"where","");
**>>> What kind of expresions can I use here

// group by another tag
var groupBy = getParam(pp,"group","");
**>>> What can I use here, only Context, Project,
Area
and Contact, or more ?

// group by count only mode
var groupCountOnly = getParam(pp,"groupCountOnly","");

// filter the groups by tag expr
var gTagExpr = getParam(pp,"gTag","");

// or eval'ed expression
var gWhereExpr = getParam(pp,"gWhere","");

// how to render list items
var viewType = getParam(pp,"view","plain");
**>>> What options can I use here ?

// how to render headings
var gViewType = getParam(pp,"gView",groupBy);
**>>> What options can I use here ?

// if there are tiddlers who aren't grouped then give them this title
// mainly used to label future actions...
var leftoverTitle = getParam(pp,"leftoverTitle","No "+groupBy);

// if set to "yes" then we ignore the realm and show everthing
var ignoreRealm = getParam(pp, "ignoreRealm","");

// sort items
var sortBy = getParam(pp,"sort","title");

// sort groups
var gSortBy = getParam(pp,"gSort","title");

// new button
var newButton = getParam(pp,"newButton",""); // not using
var newButtonTags = getParam(pp,"newButtonTags","");
**>>> What does this mean ?

// don't show empty list
var dontShowEmpty = getParam(pp,"dontShowEmpty","");



On 1 apr, 10:11, Daniel Burón  wrote:
> You can find info in the code, just look in plugins for MgtdList,
> there you'll find the declaration of the function and its parameters.
> You can also play a little with different parameters and look the
> results, there are not so many parameters and it relative easy.
>
> It would be nice a way to create a sort of tree view of projects and
> subprojects, using first Area and then project herarchy. I'd have a
> look to the treeview plugin but if anyone has done something like that
> before it would be nice to post it here. Thanks
>
> On Mar 31, 7:04 pm, Blazeguru  wrote:
>
> > Nowbody who knows how to use the parameters of mgtdlist or where I can
> > find information ?
>
> > On 27 mrt, 20:24, Blazeguru  wrote:
>
> > > mgtdList is used many times in MonkeyGTD. In this newsgroup I also
> > > read sometimes about this command. It seems very interesting (sort of
> > > SQL for querying tiddlers ?). I could not find how to use this
> > > command. Can someone tell me where I can find the syntax of this
> > > command ?- Hide quoted text -
>
> > - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Waiting actions

2009-04-02 Thread Mat

For the record, in the last code provided by Kralik, the final "}"
becomes hidden because of googlegrups "hide quoted message" feature.
I.e the whole thingy should end with a  }

Another thing; it is a bit inconsistent now in that the default for
created actions is 'next'. I suggest a quick-fix(?): Setting a
"Depends on" pretty much by definition means that an action is
"Future" and IMO should be changed into that by default (if it was
tagged Next, but not SomedayMaybe or Waiting). As it is now, this has
to be done manually.
Possible?

(Ideally, when typing actions into the wonderful QuickAdd feature,
they are typically naturally sequenced. As such it would be superb if
QuickAdd automagically added the preceding actions as tags to the
latter.


Thanx!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Waiting actions

2009-04-02 Thread Mat

DOH! disregard my last post.
I only meant; Thank you Kralik!

:-)

On 2 Apr, 13:23, Mat  wrote:
> Kralik - fantastic! I think this may just be fully usable now!
>
> Does anyone know how to make the "Depends on list" only show the
> actions in the specified project (if any)?
>
> Thank you!!!
>
> On 25 Mar, 23:33, Kralik  wrote:
>
> > Even better than the last tweak (though you could certainly use both),
> > here is a GUI-dropdown addition that lets you assign an action a
> > dependent action. It's pretty easy:
>
> > 1) Edit MgtdConf and add "Action", to the tagsToIndex list.
> > 2) Edit TitleButtons and add the following code under the !Action
> > heading:
>
> > // reference line, near the top
> >  
> > // new line right here:
> >   Depends on:
>
> > Tada!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---



Re: Waiting actions

2009-04-02 Thread Mat

Kralik - fantastic! I think this may just be fully usable now!

Does anyone know how to make the "Depends on list" only show the
actions in the specified project (if any)?

Thank you!!!


On 25 Mar, 23:33, Kralik  wrote:
> Even better than the last tweak (though you could certainly use both),
> here is a GUI-dropdown addition that lets you assign an action a
> dependent action. It's pretty easy:
>
> 1) Edit MgtdConf and add "Action", to the tagsToIndex list.
> 2) Edit TitleButtons and add the following code under the !Action
> heading:
>
> // reference line, near the top
>  
> // new line right here:
>   Depends on:
>
> Tada!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "GTD 
TiddlyWiki" group.
To post to this group, send email to GTD-TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
gtd-tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/GTD-TiddlyWiki?hl=en
-~--~~~~--~~--~--~---