I did a little toolbar command, some time ago. It is related to a TW group thread [2]. Depending on the configuration, you can add text at the top or at the bottom of the tiddler. With some tweaking somewhere in the text would be possible too.
If the tiddler is in view mode, it switches to edit mode. If edit mode is active, it just adds the text. have fun! mario [1] http://hoster.peermore.com/recipes/TeamWork/tiddlers.wiki#AddNowCommand [2] http://groups.google.com/group/tiddlywiki/browse_thread/thread/9f3fb012e80fdc4 On Oct 5, 6:25 pm, Shankar Swamy <[email protected]> wrote: > Hello, > > I searched through the archived listing and did not find an answer to > this and hence posting here. > > What I need to do is insert a specific text string into the tiddler at > insertion point when I click a button. I wrote up a script which > accomplishes in an annoyingly round about way as follows: > 1. save the tiddler, > 2. read the tiddler back, > 3. append the text string to the end of the tiddler string read, > 4. load it to the editor. > > This is round about, slow and in addition, the string can be added > only at the end of the text. > > I am wondering, in the 3+ years that have gone by since I wrote this, > any better ways of doing this have emerged. > > Thanks for your suggestions. > > Cheers; 'best, > shankar swamy -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev?hl=en.
