Hi *, I'm working with Tiddly now for about two weeks and enjoy it. And reading this list I'm sure, it will do so for a long time...
But now I got to a point I do not find a solution for. I think it's easy
for most of you to point me to the target, but only with searching and
reading her does not help...
I would like to start a little script before the DefaultTiddlers tiddler
starts, because the script adapts the DefaultTiddlers to the actual
date. So far I installed the InlineJavascriptPlugin and did a tiddler
StartScript with the following code:
> <script>
> var title = new Date( );
> title = title.formatString("[[DD. MMM YYYY]] [[ToDo]] [[StartScript]]");
> store.saveTiddler( "DefaultTiddlers", "DefaultTiddlers", title );
> </script>
> <script>
> document.write("The current date/time is: "+(new Date())+"<br>");
> return "link to current user: [["+config.options.txtUserName+"]]\n";
> </script>
The StartScript tiddler is linked in the DefaultTiddler, but of course
it has to start before. But I don't know, where I have to place it.
Thanks in advance for your advices.
Regards!
Dirk
--
signature.asc
Description: OpenPGP digital signature

