I am using the browser object to 'invoke download string' to allow me to save data from my app into a .xml file.
I am using NWJS for my app and this method lets the user choose the location of the save file and its filename. (If you run it in Chrome only it saves automatically to your chrome save file folder).
I'd like to be able to save the file location and name to a string when the user clicks ok.
Is there a way to save this to a string, or force the browser download location to a set folder on the users computer?