> I'm using tiddlywiki's file management code and I'm trying to find a way
> to effectively support a "Save As" file dialog.

see
   http://www.TiddlyTools.com/#CoreTweaks##604
   http://www.TiddlyTools.com/#CoreTweaks##683
and
   http://www.TiddlyTools.com/#SaveAsPlugin
   http://www.TiddlyTools.com/#SaveAsPluginInfo

CoreTweaks #604 provides platform/browser specific 'askForFilename()'
code for Moz and IE browsers.  However, because Webkit-based browsers
do not have any native file I/O functions, support for those browsers
would have to be implemented by adding the needed API to the
tiddlysaver.jar.  The code for CoreTweak #604 already includes a
wrapper to invoke this suggested API.

Also note that, as of FireFox 3.1, you cannot use <input
type="file" ...> to get the FULL path/filename.  As a *filesystem
security measure*, only the FILENAME portion of the selected path/
filename is available in the resulting .value property of the FILE
input field.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to