Show selected value on Menu button

I want to be able to change or append the label on the menu button to reflect what value is currently selected (so I don’t have to open the menu to find out).

Is this possible somehow?

Yes, using this syntax to define the label property. For example:

MyLabel: @{this}

Great, thanks!

Is it possible to use line-breaks for button text aswell?

Is it also possible to show selected item name/label/key?

I just figured you're probably using version v0.49.12, since you're new to O-S-C, I suggest you move to v1 which is about to be released officially.

In v1, most widgets don't have a label anymore, you need to create a text widget if you need one. The above syntax would be used in the text's value property (assuming the menu's id is "menu_1":

@{menu_1}

Is it also possible to show selected item name/label/key?

This one is a bit trickier but also uses the syntax documented in the page linked above:

JS{{
// this goes in a text's value property
var values = @{menu_1.values},
    v = @{menu_1}

return Object.keys(values).find(k => values[k] == v)

}}

Is it possible to use line-breaks for button text aswell?

A button's label can contain line breaks (shift+enter to insert new lines in the editor).

Yes I’m on 0.49…

How do I upgrade? (could not find any compiled 1.0 version - and replacing the contents in the “app” folder with updated files resulted in O-S-C not starting at all)

https://github.com/jean-emmanuel/open-stage-control/releases/tag/v1.0.0-beta7

Great, thanks!