Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-04 Thread TonyM
Thanks Jeremy I expected it was something like that. But at the time I asked, the filename was not even present in the info path. On top of timing I think. I will ask more If I can reproduce it. Regards Tony -- You received this message because you are subscribed to the Google Groups

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-04 Thread Jeremy Ruston
Hi Tony > On 4 Aug 2019, at 01:04, TonyM wrote: > > I was trying to get the filename.ext the wiki loaded from when using file:// > > Is there a way? Try something like: [[$:/info/url/pathname]get[text]split[/]last[]] Best wishes Jeremy -- You received this message because you are

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread TonyM
On a related issue I was trying to get the filename.ext the wiki loaded from when using file:// Is there a way? Regards Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it,

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Jeremy, Arlen and anyone - my question did have a familiar feel to it: https://groups.google.com/forum/#!searchin/tiddlywiki/location.js|sort:date/tiddlywiki/bDAOWS5fcHw/5jr5Xtd9CQAJ BJ has solved it! <:-) -- You received this message because you are subscribed to the Google Groups

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Arlen Beiler
If you need to read the location hash for Javascript purposes, you could use a raw head tiddler with a script tag to save it in a global variable. Or put it in a tiddler in the preload array. On Sat, Aug 3, 2019 at 12:37 PM Mat wrote: > Then I know. Much appreciated that you replied. > > <:-) >

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Then I know. Much appreciated that you replied. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
Hi Mat > Yes, the fragment (tiddler) - but if the whole url could be retrieved then I > could do the slicing myself. > > BTW, I initially used "$:/info/url/full" which caused some confusion because > I assumed it really was the full url. Maybe it is misnamed? (Or maybe I don't > know what the

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
> > If you are talking about fragment, then there’s no direct way to read it > at the moment. > Yes, the fragment (tiddler) - but if the whole url could be retrieved then I could do the slicing myself. BTW, I initially used "$:/info/url/full" which caused some confusion because I assumed it

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
> So how would I test if the url has the suffix "foo”? Just to check, in the example http://example.com/index.html#fragment are you talking about “fragment” or “index.html”, or something else? If you are talking about fragment, then there’s no direct

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Thanks. So how would I test if the url has the suffix "foo"? I hope to do it at startup. <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Jeremy Ruston
Hi Mat > Non of the info commands seem to access the marked out part. How do it? There’s no consensus but it’s often called the “location hash”, “fragment identifier” or “named anchor”. In any case, it is not currently exposed by the info mechanism because it instead exposed through the

[tw5] How http://do/I/access/_THISPART_ ?

2019-08-03 Thread Mat
Non of the info commands seem to access the marked out part. How do it? [image: Capture.PNG] Thanks! <:-) -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to