I\'m creating an app using node-webkit, so there\'s a lot of javascript. I have written a node.js function that will take a screen shot and save it to the disk, however, it
The File Dialog page in the Wiki mentions a save dialog file input
nwsaveas will open a save as dialog which let user enter the path of a file, and it's possible to select a non-exist file which is different with the default file input tag:
You could use that in an custom dialog like a modal or so to query the user for that input.
Very basic example based on your provided code:
Screen shot