Saving Path for Collective

dnz's icon

Hi

i'm making a collective for a friend. it's a sample player with pre-stored vst plugins.

i would like that upon opening the patch, a dialog pops out and he can select where all his sound folder and plugins are stored on this harddisk. then on re-opening the patch, all the stored paths are loaded. the dialog would only pop up again when the sound folder and plugin folder are removed.

any recommendation for a better way to do this, or any recommended externals i should look into?

best

bes

dnz's icon

Thanks. I'll look into pattrstorage to save the file path. how do i make pattrstorage to first load the file path then the rest of it's preset?

Just Evan's icon

Hey mate!

I am also looking for an answer to this question, did you manage to find a solution?

Source Audio's icon

store path into text file,

read it on next app startup.

path to textfile should be users folder

to prevent privileges conflict.

like

~/Documents/mypath.txt

or similar maybe where app preferencesare stored.

DON'T try to use only name without absolute path.

That won't work.