Hi

If it's a kind of slideshow you're after, you can walk along a chain of 
titles in a list. Put this code in each tiddler in the chain:

<$set name="before" filter="[list[lists!!list]before{!!title}]">
<$set name="after" filter="[list[lists!!list]after{!!title}]">
<$button set="lists!!target" setTo=<<before>>>Before</$button>
<$button set="lists!!target" setTo=<<after>>>After</$button>
</$set></$set>

<$view tiddler="lists" field="target"/>

-- write a list of the titles of each tiddler in a list somewhere -- 
'lists!!list' for this example
-- for this example I have used the field lists!!target as the 'state' field
-- the <$view> widget is to display whats going on
-- open a few of the tiddlers and click some buttons to see how this works

regards

On Monday, 19 October 2015 08:51:22 UTC+2, Andrew wrote:
>
> Hello again. I'm trying to construct a macro that toggles between tiddlers 
> like a chain of buttons. I set it up to save state in a temp file because I 
> wanted to be able to clone the tiddler that the button is in and have them 
> work independently. I can't seem to figure out how to set the field in the 
> temp tiddler to the value in the target field of my second button. Here 
> <http://t5a.tiddlyspot.com/#%24%3A%2FMacros%2FToggle> is what I have so 
> far. So, the button is supposed to set the state field with the name of the 
> tiddler title that I am trying to pass to the macro bit it ends up setting 
> it to text "<$view tiddler=<<t>> field="target" />" instead of "TagPill1c". 
> Any suggestions welcome?
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a03792b4-b9dd-49a4-a573-c66dbd0ac6c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to