Thanks, Mark, that did the trick. The \define newtitle() $(color)$-$(model)$ code is new to me; I'll find that very helpful (and, I'll add, is nicely documented at http://tiddlywiki.com/#Macros,
//steve. On Mon, Aug 1, 2016 at 5:53 PM, 'Mark S.' via TiddlyWiki < [email protected]> wrote: > Why do you need the temporary and invisible tiddlers to be deleted? I'm > not sure that you need a 3rd party widget any more. New stuff has been > added to TW5. Here's my code that leaves the temporary tiddlers hanging > around but does it in one click. It might be possible to delete the > temporary tiddlers as part of the process, but what is the use case? You're > just going to need them again, right? > > -- Mark > > \define newtitle() $(color)$-$(model)$ > Color: <$select tiddler='$:/temp1'> > <option>Red</option> > <option>Blue</option> > <option>Green</option> > </$select> > > Vehicle: <$select tiddler='$:/temp2'> > <option>Truck</option> > <option>Sedan</option> > <option>Convertible</option> > </$select> > > <$set name=color value={{$:/temp1}}> > <$set name=model value={{$:/temp2}}> > > <$button>Make new tiddler > <$action-setfield $tiddler=<<newtitle>> tags="ColorVehichle" /> > <$action-navigate $to=<<newtitle>>/> > </$button> > > </$set> > </$set> > > > > On Monday, August 1, 2016 at 1:37:16 PM UTC-7, SteveSchneider DesignWriteX > wrote: >> >> (this was discussed in this thread: >> https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/x-maketid%7Csort:relevance/tiddlywiki/FQE6CEX03Jk/rqdQmdLjBQAJ >> ) >> >> I've successfully created new tiddlers with titles set to the >> concatenated results of two selects. However, it takes me four clicks >> (including deleting a temporary tiddler). >> >> Here is my implementation: >> https://dl.dropbox.com/s/ep3i0ylqxx8btxx/naming-a-new-tiddler.html?dl=0 >> >> Any ideas of how to reduce the number of clicks (ideally, to one button). >> >> Thanks! >> >> //steve. >> >> Here's the code: >> * Objective: Create a new tiddler with the name derived from two selects, >> with fewer than four clicks >> * Requires: maketid plugin from http://gwiz-beta.tiddlyspot.com/# >> <hr> >> <$button> >> <$action-deletetiddler $tiddler="$:/temp1"/> >> <$action-deletetiddler $tiddler="$:/temp2"/> >> One - delete temporary tiddlers >> </$button> >> >> Color: <$select tiddler='$:/temp1'> >> <option>Red</option> >> <option>Blue</option> >> <option>Green</option> >> </$select> >> >> Vehicle: <$select tiddler='$:/temp2'> >> <option>Truck</option> >> <option>Sedan</option> >> <option>Convertible</option> >> </$select> >> >> >> <$button> >> <$x-maketid $title="Temporary" >> tiddlertitle={{$:/temp1}} $navigate="hide"/> >> Two - create temporary tiddler and field:tiddlertitle >> </$button> >> <$button> >> <$action-listops $tiddler="Temporary" $field="tiddlertitle" >> $subfilter={{$:/temp2}}/> >> Three - append value to temporary field >> </$button> >> <$button> >> <$x-maketid $title={{Temporary!!tiddlertitle}} tags="ColorVehicles" /> >> <$action-deletetiddler $tiddler="Temporary"/> >> Four - create desired tiddler with tags, delete temporary tiddler >> </$button> >> >> >> >> -- > 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/LtMpKgnGO68/unsubscribe. > To unsubscribe from this group and all its topics, 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/0de17562-07f6-46bb-9a97-8a198b9ca211%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/0de17562-07f6-46bb-9a97-8a198b9ca211%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- DesignWriteX is the administrative account for {{DesignWrite}}, the Designing and Writing Interactive Texts learning community. http://bit.do/designwrite Coordinator: Steve Schneider, [email protected] -- 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/CALqRa%2BJEOdgS4npyxYUPGw8nMxmbvrS01Ouuwx8PwYDoT6woyg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

