Page 1 of 1

[RFE] Remember file path *and* name when import/export

Posted: Fri May 25, 2012 3:57 pm
by aaa
When importing/exporting Options or the whitelist, NS remembers the path but not the filename. Can you make it remember the filename as well, so if you always export to the same name, you just have to click Save as the filename is already filled out on the Load/Save dialog.

Also, can you store separate file-paths for the Option's and Whitelist (ie. one path for Import/Export Options, and another for Import/Export Whitelist). If either doesn't exist, it would be nice if it used the path from the other one initially, but without the filename.

Re: Remember full file path (inc. filename) when import/expo

Posted: Sat May 26, 2012 12:53 am
by Tom T.
aaa wrote:When importing/exporting Options or the whitelist, NS remembers the path but not the filename. Can you make it remember the filename as well, so if you always export to the same name, you just have to click Save as the filename is already filled out on the Load/Save dialog.
Sounds good. Seems like all that is needed is a new about:config entry. noscript.export.Name.

However, if you already have saved one and want to avoid the "replace" prompt, or just for easier reference, it might be even cooler for NS to default to capturing the system date, and use that plus "Whitelist" for the file name. Whitelist 052612.txt or Whitelist 260512.txt depending on localization.
aaa wrote:Also, can you store separate file-paths for the Option's and Whitelist (ie. one path for Import/Export Options, and another for Import/Export Whitelist). If either doesn't exist, it would be nice if it used the path from the other one initially, but without the filename.
Also sounds good, and also sounds like just another about:config entry or two:

noscript.exportWLDir
noscript.exportWLName
noscript.exportSettingsDir
noscript.exportSettingsName


I'll make this an RFE, and add my support to it. Thanks for the idea.

Re: [RFE] Remember file path *and* name when import/export

Posted: Sat May 26, 2012 8:53 am
by Giorgio Maone
I had put this in my TODO list yesterday, thank you both.