Page 1 of 1

Labelxx.Text = My Text

PostPosted: Sun Nov 20, 2016 1:23 pm
by Prodigy911
Hi all -

is there a possibility to receive the name of Custom Script as a Label Output?

I got many Presets in a WD File and want to show the selected Cue as a Label Output.

With Label66.text = abcd (instead of abcd i would like to insert MyText or something like this, to directly
show the name of the Button. So - everytime i rename the button, the shown text changes automatically
when pressed.

Any ideas? ;)

Re: Labelxx.Text = My Text

PostPosted: Mon Nov 21, 2016 11:13 am
by Benni_M
Hi Benjamin,
I don't think there is a command to get the name of a button.
But here an idea.
You have a variable "button_name"

button_name = change the text and label

labelxx.text = button_name
WDCustomScriptText,MyID,button_name


Change the variable and the button text and label change on click.

Best,
Benni M. :-)

Re: Labelxx.Text = My Text

PostPosted: Mon Nov 21, 2016 2:19 pm
by Prodigy911
Hey Benni ;)

This was the way i did it now.

I thougt there is a more easy way to handle it :)


Maybe put it on the wishlist ;)

Best
Benjamin

Re: Labelxx.Text = My Text

PostPosted: Tue Nov 22, 2016 12:32 am
by Daniel Kaminski
WD Version 6 will give you way more options in this regard.
The Script Language in WD6 got a huge upgrade, so please be patient for a couple more days.