Try:
populate(\"*.press\",\"presets\")","boxI"
You need a \ before each quote that appears as part of the string.
Try:
populate(\"*.press\",\"presets\")","boxI"
You need a \ before each quote that appears as part of the string.
You neednāt bother testing that, it donāt work. But Iāve added a way of doing it. Iāll post a few more details once I get around to building a test version for Windows. That VST2 thing messed up all my automated builds.
Yeah, no more error but it doesnāt work as you said.
But thanks for the backslash tip
Alright, Iāll try again when you will release the new binary !
Thanks a lot !
I found an other issue :
With the code you provided above :
If I save a preset and then load it right after, nothing happens.
So then I try to re-run the plugin in Cabbage and it results in a freeze
Do you notice the same behaviour ?
EDIT : I tried also in LMMS after exporting, and the same, LMMS freezes
Is this just with the new version I posted or has this problem been there all along? Iām seeing the same thing.
[edit] Add ficlose SFileName
to the instrument that saves the files. That seems to fix the problem.
Btw, I sorted the automated Windows build. The most up to date binaries can be found here. Just click anyone in green to go to artifacts. That should give you the full installer. Iāve fixed those issues you were seeing yesterday if you want to try out the latest build.
Will try it right now
Thanks a lot !
EDIT : Cabbage crashes on startupā¦
Ha. Thatās not a great start! Iāl have a look.
itās working fine for me. Can you try opening it again. Sometime if you try to run straight after the install it doesnāt seem to work.
Yeahā¦
Btw, in the meantime, I managed to create a preset manager based on single files : presetmanager2.zip (1.4 KB)
Just uncrompress everything and load the .csd file.
You can save a preset using the save button anywhere you want
If you save a preset in the āpresetsā folder in will appears in the listbox after the next plugin startup.
To open a preset you have 2 ways : the open button to search for any files on your computer, and the listbox to quickly load a preset saved in the āpresetsā folder
you can reload the lastest preset using the āreloadā button.
For some reason, the preset name doesnāt displays properly when you use the open button (maybe because open load the path with ā/ā and the listbox load path with āā
Maybe it will be useful for someone
Still no ways⦠I will try to uninstall everything related to Cabbage/Csound, run a ccleaner an try again
EDIT : Nope⦠Still crashing⦠I donāt understand whyā¦
EDIT2 : Seems related to the .exe file, if I try an older Cabbage.exe file, no more crashes
Hmm. I can think why this is. Iāll take a look.
Hi Rory, I tried to refresh the preset listbox after the user saves a new preset, Iām almos there but I still have to press my āreloadā button after saving to show the new preset, I donāt undrstand why I canāt trigger like a āauto-clickā on the reload button right after the user clicks saves presetBug.zip (1.4 KB)
Here is the project file, let me know if you found a way to do it !
Thanks in advance,
Sorry, I didnāt implement in the listbox, only the combobox. Iāll do that now. Leave it with me. Iām currently moving through airports. Might be a day or two before I find time for itā¦
I just pushed through some changes, but I canāt test. There should be a new build available to test here in a few minutes. To update the listbox, or combobox, do this:
chnset "refreshfiles()", "comboI"
Where comboI
is the identchannel for the listbox or combobox.
Alright, seems like the build failed⦠(EDIT Thanks for fixing the build, the refresh works now )
Also, related to these listbox, is there a way to remove the āSelectā¦ā entry (the first entry of the listbox, as well as a way to change the white backgroyund where there are not enough items in the listbox ?
Thanks in advance,
Wow Nice redesign ! And nice feature to reopen latest projects on startup !
I noticed one thing : the scrollbar on the listbox is no longer here
Are there any other things I should have noticed/tested ?
Thanks @mauro then, great job
Yeah sorry, I havenāt noticed it before !
Alright, Iāll stay tuned !