I think this will do what you want, if that is literally what you meant:

\define report()
Report: {{$:/temp/reporttitle}}

<$list filter="[{$:/temp/myfilter}]">

! <$view field="title"/>

{{!!text}}
</$list>
\end

<$edit-text tiddler="$:/temp/myfilter" tag="input" size="50" default="Name 
of field to copy"/><br/>

<$edit-text tiddler="$:/temp/reporttitle" tag="input" size="50" default="
Your New Title Here"/>

<$wikify name="snapshot" text="<<report>>" output="html">
<$button>
<$action-sendmessage $message="tm-new-tiddler" 
title={{$:/temp/reporttitle}}  tags="Snapshot" text=<<snapshot>>/>
Make Snapshot
</$button>
</$wikify>

Good luck!
Mark

On Saturday, June 17, 2017 at 2:55:04 AM UTC-7, @TiddlyTweeter wrote:
>
> Ciao Mark S & RichardWS
>
> I want to both thank both of you, report back, and seek a bit more help.
>
> After trail and error I found Mark's version below the most pertinent to 
> my needs. On reflection, I realised its better as a stand alone tool for 
> occasional use, rather than embedded via an icon on all Tiddlers.
>
> It works well. But I want to, ideally, upgrade the filter to have an input 
> field so I'd enter the Title of the Tiddler I need a snapshot of, so I 
> don't have to manually edit the macro everytime I use it. How do I do that? 
> Is it difficult? Would the recursion problem come back?
>
> Best wishes
> Josiah
>
> Mark S. wrote:
>>
>> Hmm... You can try this version
>>
>> \define report()
>> Report: {{$:/temp/reporttitle}}
>>
>> <$list filter="[tag[HelloThere]]">
>>
>> ! <$view field="title"/>
>>
>> {{!!text}}
>> </$list>
>> \end
>>
>> <$edit-text tiddler="$:/temp/reporttitle" tag="input" size="50" default="
>> Your Title Here"/>
>>
>> <$wikify name="snapshot" text="<<report>>" output="html">
>> <$button>
>> <$action-sendmessage $message="tm-new-tiddler" 
>> title={{$:/temp/reporttitle}}  tags="Snapshot" text=<<snapshot>>/>
>> Make Snapshot
>> </$button>
>> </$wikify>
>>
>> Your report will look something like the information below:
>>
>>
>> ----
>>
>> <<report>>
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/2ac2449d-cae9-48f5-a812-a9a77043e860%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to