Hi again

I'd like the script to be active in the tiddler it is invoked from.
I thought that tiddler.title would do that for me - when I used the
script from another tiddler with <<tiddler MyScript>>
However it runs the script in the original tiddler instead (putting
the script itself into the tagline!!)..

What am I doing wrong?

YS Måns Mårtensson

On 12 Apr., 17:10, Eric Shulman <[email protected]> wrote:
> > Last try was:
> >  var t=store.getTiddlerText('tiddler.title') ;
> >    var target = store.getTiddler('tiddler.title') ;
> > Response was TypeError t is null...
>
> 'tiddler.title'
>    is just a text string
> tiddler
>    is an object
> tiddler.title
>    is an attribute of that object
>
> Thus:
>    var t=store.getTiddlerText(tiddler.title)
>    (i.e., remove the quotes)
>
> enjoy,
> -e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to