Thanks Eric. By the way, where do all those brackets come from in the inline 
filter and where is all that documented when to use which and how many ?

Bobj

Dr. Bob Jansen
122 Cameron St, Rockdale NSW 2216, Australia
Ph: +61 414 297 448
Skype: bobjtls


> On 13 Sep 2020, at 12:12, Eric Shulman <[email protected]> wrote:
> 
>> On Saturday, September 12, 2020 at 6:12:12 PM UTC-7, Bob Jansen wrote:
>> <$button>
>> <$wikify name="theuniqueid" text={{$:/TLS/uniqueid}}>
>> <$action-createtiddler $basetitle="$:/TLS/new-id" $overwrite="yes" />
>> <$action-setfield $tiddler="$:/TLS/new-id" text={{$:/TLS/uniqueid}} 
>> uniqueid=<<theuniqueid>> />
>> </$wikify>
>> Add
>> </$button>
> 
> This can also be done without using $wikify, by using an "inline filter", 
> like this:
> <$button> Add
> <$vars id={{{ [{$:/TLS/idcode}addsuffix{$:/TLS/incremental}] }}}>
> <$action-createtiddler $basetitle="$:/TLS/new-id" $overwrite="yes" />
> <$action-setfield $tiddler="$:/TLS/new-id" text=<<id>> uniqueid=<<id>> />
> </$vars>
> </$button>
> 
> -e
> -- 
> 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/8OIdMGfIV-A/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f856baf6-18a7-41e0-a1d6-da474f7e1cd3o%40googlegroups.com.

-- 
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/9087A852-C413-4C90-94B4-32F062F9825C%40gmail.com.

Reply via email to