Hi!
In JS it's something like: var filename =
location.pathname.substr(location.pathname.lastIndexOf("/")
+1,location.pathname.length);
Otherwise google for: window.location filename
wOn Apr 11, 7:11 am, skye riquelme <[email protected]> wrote: > Hi All > > Still playing around with TWs. > > I have a system where students can create a new TW ...using Erics > SaveAsPlugin.....which is made up of a selection of tiddlers from the > original (using the tagging ability of SaveAs). > > The student creates a new tiddler...and I have SaveAs setting the new > TW to the name of the tiddler. Now when I open the new TW.....I want > that it is "aware" of its file name....which will in fact become the > SiteTitle for that TW.....how can I read the TWs filename...and insert > it into the SiteTitle text? > > Thanks > > Skye -- 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.

