I have a listbox that is dynamically loading a string value - in this case ‘SpresetList[1]’
cabbageSet 1, "Sample", sprintfk("populate(\"*.txt\", \"%s\"), value(\"%s\")", gSpresetPath,SpresetList[1])
It highlights the correct value but the value isn’t sent back to cabbage. For instance, here, the print value doesn’t reflect what is dynamically selected with cabbageSet. Any suggestions?
> cabbageSet 1, "Sample", sprintfk("populate(\"*.txt\", \"%s\"), value(\"%s\")", gSpresetPath,SpresetList[1])
> gSpreset=chnget:S("Sample")
> printks "gSpreset=%s", 0.3, gSpreset