So if I was in a tiddler called "Home improvements", and wanted to return a list of tiddlers with the prefix "Home", I could do this:
<<list-links "[prefix[Home]]">> But I want to be able to put the list-links command in a skeleton or a macro, so that I don't need to hard-code it. The first step would be to be able to have a command that returns the first X characters of a field. Then that field could be the current tiddler's title. Then that could be used as the required prefix. On Thu, 28 Apr 2016 20:31 'Mark S.' via TiddlyWiki, < [email protected]> wrote: > I'm trying to understand exactly what you want. Perhaps an example of > input data and output results would be helpful? > > The way you've written it, it looks like you want the filter, selecting > the tiddlers, to change on the fly according to the already selected/listed > tiddler. This gets you into a loop, which can't be right. Possibly what you > really want is some sort of grouping? > > Good luck! > Mark > > > On Thursday, April 28, 2016 at 12:29:59 AM UTC-7, Matthew Petty wrote: >> >> Is there a way to reference the first 4 characters in a tiddler title? >> For example: <<list-links "[prefix<first 4 chars of currentTiddler>]">> >> This would help with my journals, which are named YYYY MM DD etc, but >> would also be very useful elsewhere. >> >> As an extension, it could be used to set year, month and day fields for >> these journal tiddlers, rather than relying on the title for this >> information. >> >> -Matthew >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/I-52qmdbEJw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/9d39917e-5caa-49a6-b925-c5e6812f4334%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/9d39917e-5caa-49a6-b925-c5e6812f4334%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAGFCNLyS79zBUqLZQT6wg9CSjwhiCEJwU9GL8%2BKKST4_75siFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

