Sorting a list of tiddlers by the output of a macro contained in a field

56 views
Skip to first unread message

David Allen

unread,
Jan 11, 2016, 7:02:39 PM1/11/16
to TiddlyWiki
...let me try to make sense of that.  I have some character tiddlers with a caption field. Said caption field contains a macro call that returns the characters name, albeit rearranged.  I'd like to sort a list of character tiddlers by the rearranged name, a.k.a. the caption field after the macro it contains is run.  Is there any way to do this?

Tobias Beer

unread,
Jan 12, 2016, 2:20:18 AM1/12/16
to TiddlyWiki
Hi David,
 
...let me try to make sense of that.  I have some character tiddlers with a caption field. Said caption field contains a macro call that returns the characters name, albeit rearranged.  I'd like to sort a list of character tiddlers by the rearranged name, a.k.a. the caption field after the macro it contains is run.  Is there any way to do this?

I'd think not. What you can do is:
  1. create a button that contains a list widget
  2. iterates through all characters
  3. storing a computed name in an actual field
    • rather than using the macro as the field-value
Best wishes, Tobias. 

David Allen

unread,
Jan 14, 2016, 2:09:56 PM1/14/16
to tiddl...@googlegroups.com
Thanks for that.  Worked well once I figured out what you were saying
This email has been sent from a virus-free computer protected by Avast.
www.avast.com

--
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/x9hORQSiIpc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/d87f94aa-2b88-4f3e-9f77-7b767d13d049%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
David Allen

Tobias Beer

unread,
Jan 14, 2016, 5:14:34 PM1/14/16
to TiddlyWiki
Yeah, possibly failed to mention the appropriate action widgets to use within the lists. I'll make a post oM tb5 for it when I get to it.
Reply all
Reply to author
Forward
0 new messages