Hi Mat

> 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.

The difference between the two is that "tm-save-wiki" performs all the logic 
around "dirty checking"; keeping track of when the wiki has been successfully 
saved, so that we can give a warning on close if it hasn't been saved. 
"tm-download-wiki" just downloads the indicated file, without any of that logic.

So, I'd suggest adding a new "save local" page toolbar button that uses the 
download method to save the file locally.

Best wishes

Jeremy

> 
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/71782993-53CF-4990-A095-40A55667C2E8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to