Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Inserting the variable of another Tiddler content into a Macro...or using a macro in a macro....

Received: by 10.204.145.215 with SMTP id e23mr295924bkv.0.1352508422392;
        Fri, 09 Nov 2012 16:47:02 -0800 (PST)
X-BeenThere: tiddlywiki@googlegroups.com
Received: by 10.204.11.220 with SMTP id u28ls2744082bku.4.gmail; Fri, 09 Nov
 2012 16:46:48 -0800 (PST)
Received: by 10.204.127.19 with SMTP id e19mr1057665bks.4.1352508408600;
        Fri, 09 Nov 2012 16:46:48 -0800 (PST)
Received: by 10.204.127.19 with SMTP id e19mr1057664bks.4.1352508408572;
        Fri, 09 Nov 2012 16:46:48 -0800 (PST)
Return-Path: <lasjoht...@googlemail.com>
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44])
        by gmr-mx.google.com with ESMTPS id x17si6246bkw.3.2012.11.09.16.46.48
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 09 Nov 2012 16:46:48 -0800 (PST)
Received-SPF: pass (google.com: domain of lasjoht...@googlemail.com designates 209.85.214.44 as permitted sender) client-ip=209.85.214.44;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lasjoht...@googlemail.com designates 209.85.214.44 as permitted sender) smtp.mail=lasjoht...@googlemail.com; dkim=pass header...@gmail.com
Received: by mail-bk0-f44.google.com with SMTP id jg9so438538bkc.17
        for <tiddlywiki@googlegroups.com>; Fri, 09 Nov 2012 16:46:48 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=message-id:date:from:user-agent:mime-version:to:subject
         :content-type;
        bh=BZXYVe1a+Uz1pa98iWfl+hRxgSS1MoV7teT2BCkCz7U=;
        b=und1mnfoO5Z2lla7hU1oZv3e32xbRGL7B3AVENVWbd1nVkIkl7Qrr+HMrODg/ydIuX
         BgbgZlMQoS36/RE571syeqagGieLiKahNukree+URb5AAvx7TLRu99iAGq4Hy0SQ4laC
         KvVWZsMj6oNzhpVoABOtd58Zn/ks/JB9GYiBI9pIwq2Nep0DmQY5CCspWRsWdnYucv1H
         Ipsrh/4jr/wCzdk4hs5SKVriDxKEr9bODrxZc3vyb/ZzFtTiFmyxnGxZmnfqzb7EqH5l
         YOFiHGKRJpqI5HhR59njW1LCrzoqkOu3uHYKbE4HCC1PClHGT1uQLHKiAW5ZEzUCBSfb
         NVgQ==
Received: by 10.204.11.212 with SMTP id u20mr4304240bku.47.1352508408344;
        Fri, 09 Nov 2012 16:46:48 -0800 (PST)
Return-Path: <lasjoht...@googlemail.com>
Received: from [127.0.0.1] (e176043197.adsl.alicedsl.de. [85.176.43.197])
        by mx.google.com with ESMTPS id hu14sm18191bkc.12.2012.11.09.16.46.46
        (version=SSLv3 cipher=OTHER);
        Fri, 09 Nov 2012 16:46:47 -0800 (PST)
Message-ID: <509DA3D7.4030...@googlemail.com>
Date: Sat, 10 Nov 2012 01:46:15 +0100
From: Jan Johannpeter <lasjoht...@googlemail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: TiddlyWiki <tiddlywiki@googlegroups.com>
Subject: Inserting the variable of another Tiddler content  into a Macro...or
  using a macro in a macro....
Content-Type: multipart/alternative;
 boundary="------------010604060302070800070308"

This is a multi-part message in MIME format.
--------------010604060302070800070308
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hello
I would like to create a tiddler containing Links to all open tiddlers.
I know the saveStoryPlugin does aproximately this, but i would like the 
new tiddler to be created in EditMode the focus set on the title so that 
the first action would be to change it and add an extra button
to open it.

I found this script code

<script>
var out = "" ;
story.forEachTiddler(
   function (title, element) {
  out += "[["+title+"]]\n" ;
});
return out ;
</script>

Which gives me the desired TiddlerLinks.

An option would be to create Tiddler containing this and inserting the containing slice....

<<newTiddler label:"Neuer Eintrag" accessKey:1 focus:Title text:"<<Tiddler: PseudoStory##list>>" Tag:"TagXY">>

Of course the brackets interfere in the syntax... is there another way to do so?

Thanks for help...



--------------010604060302070800070308
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello<br>
    I would like to create a tiddler containing Links to all open
    tiddlers. <br>
    I know the saveStoryPlugin does aproximately this, but i would like
    the new tiddler to be created in EditMode the focus set on the title
    so that the first action would be to change it and add an extra
    button<br>
    to open it.<br>
    <br>
    I found this script code <span style="position: relative;">
      <pre>&lt;script&gt;
var out = "" ;
story.forEachTiddler(
  function (title, element) {
 out += "[["+title+"]]\n" ;
});
return out ;
&lt;/script&gt; 

Which gives me the desired TiddlerLinks.

An option would be to create Tiddler containing this and inserting the containing slice....

&lt;&lt;newTiddler label:"Neuer Eintrag" accessKey:1 focus:Title text:"&lt;&lt;Tiddler: PseudoStory##list&gt;&gt;" Tag:"TagXY"&gt;&gt;

<big>Of course the brackets interfere in the syntax... is there another way to do so?</big>

Thanks for help...


</pre>
    </span>
  </body>
</html>

--------------010604060302070800070308--