AndrewBelt / osdialog

A cross platform wrapper for OS dialogs like file save, open, message boxes, inputs, color picking, etc.
Creative Commons Zero v1.0 Universal
122 stars 19 forks source link

[Feature Request] Output Selected Filter when Saving #22

Open patheros opened 1 year ago

patheros commented 1 year ago

Idk if this is possible given the underlying platform APIs, but one thig that would be a nice feature is the ability to know which filter was selected when saving a file. This is only relevant when multiple filter types are present. I specifically want this functionality so I can automatically append the right file extension. On windows at least, the save dialog lets me save to a file that does not have a file extension, and I would like to automatically append the correct file extension in this case.

More details on the feature request can be found here https://community.vcvrack.com/t/osdialog-file-and-file-extension/18585

Thank you for considering this.