Cabbage Logo
Back to Cabbage Site

Saving preset with File Dialog

I assume that since presets are now consolidated into a single .snaps file this is obsolete?

Each time a user presets the ‘Save’ button a file browser dialogue with open, allowing the user to name and save the preset files to disk.

http://cabbageaudio.com/docs/presets/index.html

This doesn’t open a file save dialog:

combobox bounds(178, 286, 100, 25), channel("combobox"), populate("*.snaps")
filebutton bounds(116, 286, 60, 25), channel("but1"), text("Save"), populate("*.snaps")

Do we need to manually edit the xml file for custom names?

This is correct. And reminds me that I need to update that part of the docs! For more info see here

Yes. The quick save is just that, a way of quickly saving presets. I figured it’s not too much hassle to then rename them in the .snaps file. You will need to make sure that you use valid xml chars, so not <>'&, etc.