[feature request] Preset Browser broadcasters
-
@d-healey the preset browser can't create scripting file objects (also the JSON object should only contain Strings or primitive values), but if you use
File::getFullPathName()
you can create a file object withFileSystem.fromAbsolutePath()
in your script function. -
@Christoph-Hart Ah that's a good idea, thanks for the explanation.
-
@Christoph-Hart
bool selected = lb->isRowSelected(rowNumber);
is always returning true, even for the expansion column, any suggestion? -
@d-healey well after you clicked on it, it‘s selected, no?
-
@Christoph-Hart Not for the expansions column, you can click again to deselect
-
@d-healey didn't we discuss having a 'Factory' folder in the Expansions column so users could navigate back to the 'Factory' presets rather than clicking the expansion name again?
-
@DanH Yeah that's another way to do it. But in my case I don't want any factory presets.
-
Actually I'm not sure if the juce::ListBox class can have a "deselect" action, so you would need to hack around in there.
-
@Christoph-Hart I think I'll just track the selected index in my script and if the index is the same as the last index I know it's been deselected :)
-
Am I being silly or is the favourite button stateAha! It triggers on mouse up not mouse down :)obj.buttonState
inverted?