<$button message="tm-copy-to-clipboard" param= >
Copy to clipboard
</$button>On 19 Aug 2019, at 11:58, TonyM <anthony...@gmail.com> wrote:
--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/08094092-20d2-43fc-b8d6-422eb07937f2%40googlegroups.com.
<$list filter={{CMI Consultants list!!consultants-list}} variable=person>
<$tiddler tiddler=<<person>> >
<$text text=<<person>>/>,
<<field discipline>>,
Here: <<display-valid-services>>,
<$list filter={{CMI office-list!!office-list}} variable=office>
<$list filter="[<person-in-office-flag>limit[1]]" emptyMessage="" variable=result><<result>>,</$list>
</$list>
</$tiddler><br>
</$list><!-- people -->Hi Tony
Here's one way to do it. It's a classic application of the wikify widget: we need access to the wikified text of a tiddler, rather than its raw text.Note how the actions are placed in a separate action string to avoid having to do the wikification until it is required (if it was within the button widget then the wikify widget would be re-evaluated each time the store changes).Best wishesJeremy
\define actions()<$wikify name="content" text={{HelloThere}}><$action-sendmessage $message="tm-copy-to-clipboard" $param=<<content>>/></$wikify>\end<$button actions=<<actions>>>Copy to clipboard</$button>
On 19 Aug 2019, at 11:58, TonyM <anthon...@gmail.com> wrote:
Folks,--I believe I should know this, but I have a tiddler name "tiddlername" which contains wikitext, list macros and more. Its a beautiful representation of a csv file from my tiddler data and fields.In any tiddler I can place {{tiddlername}} and see the wonderful result.However I want to be able to copy the result as text<$button message="tm-copy-to-clipboard" param= >
Copy to clipboard
</$button>How do I provide this with the appropriate parameter ?I have another tiddler called "realcutetiddler" which renders a really nice HTML output. Rather than save this as a static html tiddler I would like to copy the HTML result to the clipboardAgain How do I provide the above with the appropriate parameter ?At the moment, with everything I try I just get in the clipboard the raw unprocessed wiki text in my tiddlers.Yours, very lost.Tony
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 tiddl...@googlegroups.com.
On 22 Aug 2019, at 00:52, TonyM <anthony...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d5e28304-3270-4f25-b057-5c1ea1ff8616%40googlegroups.com.
<$list filter="[is[system]prefix[$:/plugin]]">
<$text text=<<currentTiddler>>/>,{{!!plugin-type}}<br>
</$list>\define actions()
<$wikify name="content" text={{CSV output}} output=text>
<$action-sendmessage $message="tm-copy-to-clipboard" $param=<<content>>/>
</$wikify>
\end
<$button actions=<<actions>>>
Copy to clipboard
</$button>
$:/plugins/tiddlywiki/browser-sniff,plugin
$:/plugins/tiddlywiki/evernote,plugin
$:/plugins/tiddlywiki/nodewebkitsaver,plugin
$:/plugins/tiddlywiki/railroad,plugin
$:/plugins/tiddlywiki/browser-sniff,plugin $:/plugins/tiddlywiki/evernote,plugin $:/plugins/tiddlywiki/nodewebkitsaver,plugin $:/plugins/tiddlywiki/railroad,plugin
Hi Tony
A more minimal test case would be helpful.You may want to explore the "output" attribute of the wikify widget.Best wishesJeremy
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d5e28304-3270-4f25-b057-5c1ea1ff8616%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2f5de178-0705-4e6a-a535-93ca178e6aaf%40googlegroups.com.
\define actions()
<$wikify name="content" text={{TableOfContents}} output=text mode=block>
<$action-sendmessage $message="tm-copy-to-clipboard" $param=<<content>>/>
</$wikify>
\end
<$button actions=<<actions>>>
Copy to clipboard
</$button>Hi Tony
Apologies for my earlier brief reply.The key here is that line breaks in the original wikitext will appear in the output of the wikify widget. Here we only want a single line break at the end of each line. Try changing the template to:
<$list filter="[is[system]prefix[$:/plugin]]"><$text text=<<currentTiddler>>/>,{{!!plugin-type}}</$list>Best wishesJeremy
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2f5de178-0705-4e6a-a535-93ca178e6aaf%40googlegroups.com.
On 25 Aug 2019, at 04:09, TonyM <anthony...@gmail.com> wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e3aeef7b-10d1-484a-a8b6-dd15f665e7b6%40googlegroups.com.
Thanks for this it explains a lot
Could we thus say that the last step in the render process is performed by the browsers application of css and whilst we can choose the css applied we can't "see" this result in tiddlywiki only on the browser screen.
I will investigate to see if any mechanisium exist to "screen scrape" for want of a better term.
I the meantime I can't capture what I see, but I can change what I capture, so it appears so.
thanks
Tony