> For the slide presentation modes, I have to swap between a couple of > different SlideViewTemplates .. > What would be nice is to have a macro that I can click on to copy (an > arbitrary) source tiddler to SlideShowViewTemplate (or an arbitrary > target tiddler).
Try this... First, install: http://www.TiddlyTools.com/#InlineJavascriptPlugin Then, create a tiddler called [[SwitchContent]], containing: ------------------------- <script label="$1"> var txt=store.getTiddlerText('$2'); if (!txt) {displayMessage('$2 not found'); return; } var t=store.getTiddler('$3'); if (!t) {displayMessage('$3 not found'); return; } var who=config.options.txtUserName; var when=new Date(); store.saveTiddler(t.title,t.title,txt,who,when,t.tags,t.fields); </script> ------------------------- To use this inline 'onclick' script, embed the following in your tiddler content: <<tiddler SwitchContent with: "instructor mode" "InstructorSlideShowViewTemplate" "SlideShowViewTemplate">> The first parameter following the 'with:' will be used as the label on the onclick command. The second param is the source tiddler, the third param is the target tiddler whose content will be *overwritten*. That should do it! enjoy -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

