Hi Tony, 

*There is a way to trigger the import button such that it opens with one of 
> the above links prepopulated, thus all that is required is to hit open.*
>

Short answer: NO

---------- Long version ;)

TW uses the <input> element to read files from disk. The docs suggests, 
that there is a possibility to preload the "files" parameter. ... but it 
would need to be tested. 

see: 
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#files

You'll need to read it all, but for the files info you'll need to scroll 
down to Additional attributes. ... TW only knows about: 

BrowseWidget.prototype.execute = function() {
    this.browseMultiple = this.getAttribute("multiple");
    this.deserializer = this.getAttribute("deserializer");
    this.message = this.getAttribute("message");
    this.param = this.getAttribute("param");
    this.tooltip = this.getAttribute("tooltip");
    this.nwsaveas = this.getAttribute("nwsaveas");
    this.webkitdirectory = this.getAttribute("webkitdirectory");
    this.nwdirectory = this.getAttribute("nwdirectory");
};

So at the moment, there isn't any code to handle preloaded info, if 
possible. ... The biggest problem I see, is that the info that would be 
needed is way to low level to be useful for ordinary users. 

have fun!
mario

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a196db0-e0fd-4656-a266-2228391168d1%40googlegroups.com.

Reply via email to