Hey guys,

thanks for your input on this.

@Mat: unfortunately your solution does not work, or I do not get where to 
put it^^

@Mark: Well I get where you going, but I do not understand where to put the 
$(incvalue)$ reference. My code looks like this at the moment:

<$button>New Hive
>     <$set name="incval" value={{$:/state/beehive!!hiveCounter}}>
>         <$set name="counter" value=<<calc value="1" by=<<incval>>>
>             <$action-sendmessage $message="tm-new-tiddler" 
> title=<<counter>> tags="active hive" />
>             <$action-setfield $tiddler="$:/state/beehive" 
> $field="hiveCounter" $value=<<counter>> />
>         </$set>
>     </$set>
> </$button> 


As I fail explaining what I want to do, I like to link to Tobias' One 
Button Multiple Actions 
<http://tobibeer.github.io/tb5/#One%20Button%20Multiple%20Actions> post 
which is very close to what I want. The only difference is that I want the 
counter to be from another tiddler (namely $:/state/beehive). I hope this 
makes things a little clearer, sorry...

Tristan

-- 
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/6cfc9c0e-4174-473b-af28-249b0daa8480%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to