Thanks Eric for kind reply. Yes, it is, I wanted to embed codes like <<copyTiddler formTiddler>> at mainmenu ( side sidebar) for easy cloning of my journals via my default formTIddler or whatever ( if it could be set in config section or prompt for choosing).
Hope to see it. Best regards, eno On 1月23日, 下午8時43分, Eric Shulman <[email protected]> wrote: > > I'm using CopyTiddlerPlugin's toolbar command for copying the current > > tiddler but cann't figure out how to write a macro to do that? > > I'm planning to use that macro on the sidebar menu to copy the > > FormTemplate for my journals, which including codes of > > <<newTiddlerWithForm ...>> , and <<comment ....>> plugins . > > Although the sidebar content is *defined by* the SidebarOptions > tiddler, the sidebar display area isn't actually *inside* a rendered > tiddler element. Unfortunately, the 'copy' toolbar command handler is > always applied to the *current* tiddler, so it can't be used in the > sidebar. Fortunately, I think I can easily re-factor the plugin code > to add a macro syntax that allows you to create a stand-alone command > link that, when clicked, 'clones' a specified 'source' tiddler using > the same code as the toolbar command (i.e., it will automatically > append a "(n)" suffix to the cloned copy). > > Does that sound about right? > > -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 -~----------~----~----~----~------~----~------~--~---

