Folks, Just returning to further develop some import tools and wondering if we can access the source filename on Import?
For example the following code in a tiddler allows you to select one or more files to import <$browse multiple/>
. On selecting a file the import process starts, the $:/Import tiddler is created.
However we can observe, that the browse indicates the incoming filename;
- My key question is, can we access this file information? for use within the import process?
- The filename will remain visible until another is selected
- The “Curious feature observed” is that if you click on this filename the file open dialogue is opened with the filename prepopulated, and in Windows at least the current folder is typically the default, and you need only click open to attempt a reimport.
- If you select more than one file, a count is displayed, clicking triggers the open dialogue with no filename(s).
- Even access to this file count may be useful to developing the import process
- If you select more than one file, a count is displayed, clicking triggers the open dialogue with no filename(s).