plugins.file.showFileOpenDialog pre-set file name possible?

plugins.file.showFileOpenDialog(selectionMode,startDirectory,multiselect,filter,callbackfunction,title) has a lot of options, but is there a way to pre-set a file name, when you want to suggest a file name for a new file?

That would be handy in the common scenario where users need to create a file name for Excel export, and we want to suggest a temporary file name that contains the subject, the date and the time including seconds, so that the user gets unique file names for his exports.

Hi Bernd,
you can try plugins.file.showFileSaveDialog(fileNameDir) instead of showFileOpenDialog(…)
It shows File Save dialog along with the file name which you provide as parameter.

Thank you, that is exactly what I was looking for. :)