Mat,

Yes, I am yet to explore the real meaning of the history list titles, 
however I take it to be a list of tiddlers with the latest at the top most 
recently opened below that ...

PROBLEM SOLVED

   - I am keen to capture the record of tiddlers that had focus (opened or 
   navigated to), or who have been given focus (with a button I created). 
   Basically a recently opened rather than a recently modified list.  
   - Not withstanding a desire to do the above, I would also like a way to 
   access tiddler titles contained within such a list, perhaps even find out 
   how to create such a list as well.
   - There may be other opportunities if I can extract the titles
   - I started playing with splitregexp operator in an attempt to parse the 
   content, but had difficulty

Mat,

I managed to solve this by reverting to the split operator, rather than the 
splitregexp

\define title-string() "title": "
\define end-title() "
<$list filter=
"[{$:/HistoryList}split<title-string>splitbefore<end-title>removesuffix<end-title>reverse[]]"
>
<$text text=<<currentTiddler>>/><br>
</$list>


Now a little more work to remove tiddlers that no longer exist from the 
list.

Thanks
Tony

On Thursday, July 2, 2020 at 9:34:20 AM UTC+10, Mat wrote:
>
> TW Tones wrote:
>>
>> I am working on a "cute" macro for managing which tiddler has focus in 
>> the story river. I make use of the field 
>> $:/HistoryList!!current-tiddler
>>
>
> Are you sure it's HistoryList you want and not $:/StoryList!!list  ?
>
> <:-)
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a51bd3f1-7a0f-4075-99f4-88763da7dfe7o%40googlegroups.com.

Reply via email to