Is there a way to have the FileChooser save a file, with its extension hidden? Looking at the files on my Mac, all of their extensions are hidden in the Finder, but when I save a file in my synth, the extension is visible in the finder. Here’s my code:
FileChooser myChooser (T("Save..."),
File::nonexistent,
"*");
if (myChooser.browseForFileToSave(true))
{
File fileToSave = myChooser.getResult().withFileExtension(".xml");
fileToSave.create();
}