Hello,
I trying to create a simple script where, as various items in a checkbox list are selected in a window, those items are concatenated and displayed dynamically in the same window below the list.
Eventually, I would have a series of checkbox lists whose results are concatenated into a string.
Any suggestion would be appreciated,
Best,
sebastien
Names Default To Here( 1 );
New Window( "Example",
cb = Check Box( {"One", "Two", "Three"}),
text box( "Selected: " || Concat Items( cb << Get Selected(), ", " ) )
);
Here is the simple modification to you code to make it work
Look to the Scripting Index to help understand the elements of the script
Names Default To Here( 1 );
New Window( "Example",
cb = Check Box(
{"One", "Two", "Three"},
tb << set text( "Selected: " || Concat Items( cb << Get Selected(), ", " ) )
),
tb = Text Box( "" )
);
Here is the simple modification to you code to make it work
Look to the Scripting Index to help understand the elements of the script
Names Default To Here( 1 );
New Window( "Example",
cb = Check Box(
{"One", "Two", "Three"},
tb << set text( "Selected: " || Concat Items( cb << Get Selected(), ", " ) )
),
tb = Text Box( "" )
);
Thank you!