After a lot of digging[1], I found this snippet;
story.findContainingTiddler(this).getAttribute('tiddler')
and figured I'd just replace Marks input prompt, i.e like this;
var src=story.findContainingTiddler(this).getAttribute('tiddler');
The idea is to paste an URL-list into a tiddler, and save, and then
press marks "macro button" that is in the sidebar(!)
Unfortunately it doesn't work. It doesn't get what "this" is.
Is there a default word other than "this", such as "latest"... or do I
just mistunderstand it all?
thanks!
:-|
[1] ...in a Mr.Shulman post, of course;
http://groups.google.com/group/tiddlywiki/browse_thread/thread/bbfcc35e63096a8c/cc8f51e5073de447?lnk=gst&q=scroll+to+top+of#cc8f51e5073de447
On Nov 24, 4:05 pm, Amzg <[email protected]> wrote:
> Some furtherifications;
>
> If not possible to somehow do the pasting directly into the prompt or
> equivalent (as suggested above) then, second best, maybe it's possible
> to make Marks script automatically use the latest created tiddler,
> i.e omitting the need to type in anything manually in the prompt?
> Instead of the [[ check one could check for "http://" to *be* there.
--
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.