Now, fellow Drakor gives a surprisingly simple method to customize the filename - but this is when downloading an empty file, via the big green download button (using $action-sendmessage $message="tm-download-file"). The circled tick button is more complex though (using message="tm-save-wiki" ) so I'm hoping for some help.
Thus, the idea is that IF there is no password, then the download is triggered, deally so a TW with $:/SiteTitle set to FooBar makes the filename FooBar_5.1.11.html or perhaps foobar_5.1.11.html.Ideas?<:-)
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2f86b1f0-045b-40f6-b186-8535a37d7ef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
So, I'd suggest adding a new "save local" page toolbar button that uses the download method to save the file locally.
Hm, a conditional "wrapper" consisting of a simple list filter could display the circled tick if tere is a password and a download if there isn't. But this needs to test if a password field is set or not - is there any method for this? I understand password is not a regular field but call to the PasswodWidget but maybe there's some "call" to test this anyway?
Using separate buttons for save vs download is not good becaues it would either take up sidebar real estate or have to be located every time.
Also, because of my extensive experimenting on tiddlyspot, I often click save only to note it is downloading because I missed filling in the password. This creates a lot of tiddlywiki.html files in the download folder and it would just be better if I at least knew which original TW it came from.
Ideas anyone?
<:-)
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/010595fb-20fd-4025-b7d6-a45a766d0d97%40googlegroups.com.
But why are you so fixed on the idea of clearing the password field as the way of indicating which type of save you want to perform?
Using separate buttons for save vs download is not good becaues it would either take up sidebar real estate or have to be located every time.But there’s horrendous logical problems with trying to use the same button for two different functions which can both be simultaneously valid.
Also, because of my extensive experimenting on tiddlyspot, I often click save only to note it is downloading because I missed filling in the password. This creates a lot of tiddlywiki.html files in the download folder and it would just be better if I at least knew which original TW it came from.It sounds like clearing the password field might be adding to the confusion.
Anyhow, it remains trivial for you to create a separate toolbar button that saves locally with the filename that you want (for browsers that support it). If real estate is really enough of a driver to explore the complexity above, why not just put the buttons in a dropdown?