Mario, Thanks despite, your conclusion.
way to low level to be useful If it were possible do we not need only provide the path/filename in a format appropriate to the host? For others passing, the browse widget works for import <$browse multiple> and even <$edit-text field="filename" tag=input type=file > Gives you to the filename in a tiddler field (with the prefix C:\fakepath\clipboard-alt-green.svg} Regards Tony On Monday, November 11, 2019 at 10:30:50 PM UTC+11, PMario wrote: > > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dfd3fdff-7162-481b-b481-f2bc653dc015%40googlegroups.com.

